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-13 19:54:49 +0400
committerMarc Delisle <marc@infomarc.info>2012-05-13 19:54:49 +0400
commit0264deecd1c38f28908102e65f987ab3e2c00de6 (patch)
tree61c0a957e70b6d5150c87f11cf67caff714d529e /js
parent9f6dc058dd4d9847e527d7f6a67bdf211309607d (diff)
Reset zoom
Diffstat (limited to 'js')
-rw-r--r--js/tbl_zoom_plot_jqplot.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/tbl_zoom_plot_jqplot.js b/js/tbl_zoom_plot_jqplot.js
index c3dbf46501..9fc299b735 100644
--- a/js/tbl_zoom_plot_jqplot.js
+++ b/js/tbl_zoom_plot_jqplot.js
@@ -546,5 +546,10 @@ $(document).ready(function() {
}
currentChart = $.jqplot('querychart', series, options);
+
+ $('button.button-reset').click(function(event) {
+ event.preventDefault();
+ currentChart.resetZoom();
+ });
}
});