diff options
author | Rouslan Placella <rouslan@placella.com> | 2012-06-19 20:10:00 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2012-10-31 00:07:01 +0400 |
commit | 5838a4433921f285c70706146343bb21f0430b4a (patch) | |
tree | 501f2bf50007cc9af4205b4d008ef07db4513a50 /js/tbl_zoom_plot_jqplot.js | |
parent | 198c3a25c86d90cbe7d56b9d4744543b35761bfa (diff) |
Use AJAX.registerOnload() instead of $(document).ready()
Diffstat (limited to 'js/tbl_zoom_plot_jqplot.js')
-rw-r--r-- | js/tbl_zoom_plot_jqplot.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tbl_zoom_plot_jqplot.js b/js/tbl_zoom_plot_jqplot.js index afba420841..6aecf9af3f 100644 --- a/js/tbl_zoom_plot_jqplot.js +++ b/js/tbl_zoom_plot_jqplot.js @@ -104,7 +104,7 @@ function scrollToChart() { $('html,body').animate({scrollTop: x}, 500); } -$(document).ready(function() { +AJAX.registerOnload('tbl_zoom_plot_jqplot.js', function() { var cursorMode = ($("input[name='mode']:checked").val() == 'edit') ? 'crosshair' : 'pointer'; var currentChart = null; var searchedDataKey = null; |