Merge branch 'QA_3_5'

Conflicts:
	js/tbl_chart.js
This commit is contained in:
Madhura Jayaratne 2012-04-11 23:53:19 +05:30
commit 54d8dacf76
2 changed files with 10 additions and 0 deletions

View File

@ -36,6 +36,7 @@ phpMyAdmin - ChangeLog
- bug #3516183 [display] Missing image extension
- bug [display] Added missing icons in original theme
- bug #3516761 [edit] Query error after search
- bug #3516405 [display] Chart title is getting wrong within chart export
3.5.0.0 (2012-04-07)
+ rfe #2021981 [interface] Add support for mass prefix change.

View File

@ -3,6 +3,7 @@ var chart_xaxis_idx = -1;
var chart_series;
var chart_series_index = -1;
var chart_data;
var temp_chart_title;
$(document).ready(function() {
var currentChart = null;
@ -68,6 +69,9 @@ $(document).ready(function() {
drawChart();
});
$('input[name="chartTitle"]').focus(function() {
temp_chart_title = $(this).val();
});
$('input[name="chartTitle"]').keyup(function() {
var title = $(this).val();
if (title.length == 0) {
@ -76,6 +80,11 @@ $(document).ready(function() {
currentSettings.title.text = title;
currentChart.setTitle({ text: title });
});
$('input[name="chartTitle"]').blur(function() {
if ($(this).val() != temp_chart_title) {
drawChart(true);
}
});
$('select[name="chartXAxis"]').change(function() {
chart_xaxis_idx = this.value;