Escape HTML in titles of table charts

This commit is contained in:
Michal Čihař 2013-01-15 09:10:48 +01:00
parent ae2a59f02d
commit 7e968cf30e

View File

@ -53,6 +53,7 @@ $(document).ready(function() {
},
title: {
text: $('input[name="chartTitle"]').attr('value')
escapeHtml: true,
//margin:20
},
legend: {
@ -245,7 +246,8 @@ function PMA_queryChart(data, passedSettings, passedNonJqplotSettings)
var settings = {
title: {
text: ''
text: ''
escapeHtml: true,
//margin:20
}
};
@ -279,7 +281,7 @@ function PMA_queryChart(data, passedSettings, passedNonJqplotSettings)
if (passedNonJqplotSettings.chart.type == 'spline') {
settings.seriesDefaults = {
rendererOptions: {
smooth: true
smooth: true
}
};
}