Auto resize to use full width

This commit is contained in:
Madhura Jayaratne 2013-01-14 20:48:56 +05:30
parent 91df297bb6
commit 37a7aa9206

View File

@ -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