This should fix most Javascript errors.

This commit is contained in:
James Cole
2017-01-02 10:34:01 +01:00
parent 36f1b6a834
commit f8268a864b
26 changed files with 102 additions and 51 deletions

View File

@@ -7,7 +7,7 @@
*
* See the LICENSE file for details.
*/
/** global: Chart, defaultChartOptions, accounting, defaultPieOptions, noDataForChart */
var allCharts = {};
/*
@@ -97,7 +97,7 @@ function doubleYChart(URI, container) {
{
display: true,
ticks: {
callback: function (tickValue, index, ticks) {
callback: function (tickValue) {
"use strict";
return accounting.formatMoney(tickValue);
@@ -111,7 +111,7 @@ function doubleYChart(URI, container) {
{
display: true,
ticks: {
callback: function (tickValue, index, ticks) {
callback: function (tickValue) {
"use strict";
return accounting.formatMoney(tickValue);