diff options
author | Michal Čihař <mcihar@suse.cz> | 2013-04-15 18:07:29 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2013-04-15 18:20:04 +0400 |
commit | e2571c5628b7c5b8aa93aeada14370040a717106 (patch) | |
tree | c6e0b984c036d229731d48fffcbf2bec20fdc9c3 /js/tbl_chart.js | |
parent | b044cfc3b2b3c1a92d1bf61d00d23edf107d5534 (diff) |
Various javascript spacing fixes
Diffstat (limited to 'js/tbl_chart.js')
-rw-r--r-- | js/tbl_chart.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tbl_chart.js b/js/tbl_chart.js index 7d5cb6fdff..6febba9fbe 100644 --- a/js/tbl_chart.js +++ b/js/tbl_chart.js @@ -205,7 +205,7 @@ function drawChart() { }); try { currentChart = PMA_queryChart(chart_data, columnNames, currentSettings); - } catch(err) { + } catch (err) { PMA_ajaxShowMessage(err.message, false); } } @@ -295,10 +295,10 @@ function PMA_queryChart(data, columnNames, settings) { columnsToExtract.push(element); }); var values = [], newRow, row, col; - for ( var i = 0; i < data.length; i++) { + for (var i = 0; i < data.length; i++) { row = data[i]; newRow = []; - for ( var j = 0; j < columnsToExtract.length; j++) { + for (var j = 0; j < columnsToExtract.length; j++) { col = columnNames[columnsToExtract[j]]; if (j === 0) { if (settings.type == 'timeline') { // first column is date type |