From 37a7aa920634d2b1d392cb88a5c390152bba2b44 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Mon, 14 Jan 2013 20:48:56 +0530 Subject: [PATCH] Auto resize to use full width --- js/tbl_chart.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/js/tbl_chart.js b/js/tbl_chart.js index 7fa1fa1de3..aa7ea5cdbf 100644 --- a/js/tbl_chart.js +++ b/js/tbl_chart.js @@ -24,9 +24,10 @@ AJAX.registerOnload('tbl_chart.js', function() { // from jQuery UI $('#resizer').resizable({ - minHeight:240, - minWidth:300 - }); + minHeight: 240, + minWidth: 300 + }) + .width($('#div_view_options').width() - 50); $('#resizer').bind('resizestop', function(event, ui) { // make room so that the handle will still appear