Title changing

This commit is contained in:
Marc Delisle 2012-09-03 09:05:27 -04:00
parent 6e52c12b84
commit 39e9744f04

View File

@ -83,8 +83,11 @@ $(document).ready(function() {
});
$('input[name="chartTitle"]').keyup(function() {
var title = $(this).attr('value');
if (title.length == 0) title = ' ';
//currentChart.setTitle({ text: title });
if (title.length == 0) {
title = ' ';
}
currentSettings.title = $('input[name="chartTitle"]').val();
drawChart();
});
$('input[name="chartTitle"]').blur(function() {
if ($(this).val() != temp_chart_title) {