Skip to content

Commit

Permalink
Title changing
Browse files Browse the repository at this point in the history
  • Loading branch information
lem9 committed Sep 3, 2012
1 parent 6e52c12 commit 39e9744
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions js/tbl_chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 39e9744

Please sign in to comment.