Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2012-05-20 15:43:11 +0400
committerMarc Delisle <marc@infomarc.info>2012-05-20 15:43:11 +0400
commit4ffeb06ca0cfc8afac3879d9b6938537cd8eb2ba (patch)
tree6700b031be654e5bdafc9182b5777c5120f1767e /js
parenta88705463db29c36156fa6574bdc572fa8090a44 (diff)
Improve resizer
Diffstat (limited to 'js')
-rw-r--r--js/tbl_zoom_plot_jqplot.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/js/tbl_zoom_plot_jqplot.js b/js/tbl_zoom_plot_jqplot.js
index fc1645773b..1a26a979c6 100644
--- a/js/tbl_zoom_plot_jqplot.js
+++ b/js/tbl_zoom_plot_jqplot.js
@@ -504,10 +504,12 @@ $(document).ready(function() {
currentChart.resetZoom();
});
- $('div#querychart').resizable({
- resize: function(event, ui) {
- currentChart.replot( {resetAxes: true})
- }
+ $('div#resizer').resizable();
+ $('div#resizer').bind('resizestop', function(event, ui) {
+ // make room so that the handle will still appear
+ $('div#querychart').height($('div#resizer').height() * 0.96);
+ $('div#querychart').width($('div#resizer').width() * 0.96);
+ currentChart.replot( {resetAxes: true})
});
$('div#querychart').bind('jqplotDataClick',