diff options
author | Gemorroj <wapinet@gmail.com> | 2013-01-26 16:35:29 +0400 |
---|---|---|
committer | Gemorroj <wapinet@gmail.com> | 2013-01-26 16:35:29 +0400 |
commit | fc51a91713b1e99e0aee9aa778402ee59f860d3d (patch) | |
tree | 546859f5467b6b3a7badb32a7b388887e28b6c07 /js/tbl_chart.js | |
parent | c3f2796544bf027ac85577cd18715b0c7af7de94 (diff) |
many some minor fixes (sorry, see diff)
Diffstat (limited to 'js/tbl_chart.js')
-rw-r--r-- | js/tbl_chart.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/js/tbl_chart.js b/js/tbl_chart.js index 7e9582c45f..1518f04ed4 100644 --- a/js/tbl_chart.js +++ b/js/tbl_chart.js @@ -76,16 +76,14 @@ AJAX.registerOnload('tbl_chart.js', function() { // handle changes in chart title $('input[name="chartTitle"]').focus(function() { temp_chart_title = $(this).val(); - }); - $('input[name="chartTitle"]').keyup(function() { + }).keyup(function() { var title = $(this).val(); if (title.length == 0) { title = ' '; } currentSettings.title = $('input[name="chartTitle"]').val(); drawChart(); - }); - $('input[name="chartTitle"]').blur(function() { + }).blur(function() { if ($(this).val() != temp_chart_title) { drawChart(); } @@ -241,7 +239,7 @@ function PMA_queryChart(data, columnNames, settings) { return; } - jqPlotSettings = { + var jqPlotSettings = { title : { text : settings.title, escapeHtml: true |