Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fixed some JS things [skip ci]
James Colec3c59d062761
diff --git a/public/js/accounts.js b/public/js/accounts.jsindex ae240b8500..e6bbc4ac39 100644--- a/public/js/accounts.js+++ b/public/js/accounts.js@@ -1,4 +1,4 @@-/* global $ */+/* global $, googleLineChart, accountID, token */// Return a helper with preserved width of cellsdiff --git a/public/js/budgets.js b/public/js/budgets.jsindex 3493c81fc0..67a7d325a1 100644--- a/public/js/budgets.js+++ b/public/js/budgets.js@@ -1,4 +1,4 @@-/* globals $, budgeted:false, currencySymbol, budgetIncomeTotal ,budgetedMuch, budgetedPercentage, token, budgetID, repetitionID, spent, budgeted*/+/* globals $, budgeted:true, currencySymbol, budgetIncomeTotal ,budgetedMuch, budgetedPercentage, token, budgetID, repetitionID, spent, googleLineChart */function drawSpentBar() {"use strict";diff --git a/public/js/categories.js b/public/js/categories.jsindex 073b8e2355..ffc72468dd 100644--- a/public/js/categories.js+++ b/public/js/categories.js@@ -1,4 +1,4 @@-/* globals $, categoryID */+/* globals $, categoryID, googleColumnChart */$(function () {"use strict";if (typeof categoryID !== 'undefined') {diff --git a/public/js/firefly.js b/public/js/firefly.jsindex c01a3269c7..00c86a9d60 100644--- a/public/js/firefly.js+++ b/public/js/firefly.js@@ -1,4 +1,4 @@-/* globals start, end, dateRangeURL, everything, firstDate, moment, currentMonthName, $, previousMonthName, nextMonthName, applyLabel, cancelLabel, toLabel, customRangeLabel, fromLabel, */+/* globals token, start, end, dateRangeURL, everything, firstDate, moment, currentMonthName, $, previousMonthName, nextMonthName, applyLabel, cancelLabel, toLabel, customRangeLabel, fromLabel, */$(function () {"use strict";$('.currencySelect').click(currencySelect);diff --git a/public/js/index.js b/public/js/index.jsindex 6ca893aa6b..e334644636 100644--- a/public/js/index.js+++ b/public/js/index.js@@ -1,4 +1,4 @@-/* globals google */+/* globals $, googleColumnChart, google, googleLineChart, googlePieChart, googleStackedColumnChart */google.setOnLoadCallback(drawChart);diff --git a/public/js/piggy-banks.js b/public/js/piggy-banks.jsindex 4e32a77eee..d108c41ef2 100644--- a/public/js/piggy-banks.js+++ b/public/js/piggy-banks.js@@ -1,4 +1,4 @@-/* globals $, googleLineChart, token */+/* globals $, googleLineChart, token, piggyBankID */// Return a helper with preserved width of cellsvar fixHelper = function (e, tr) {diff --git a/public/js/reports.js b/public/js/reports.jsindex 36845910f6..bba54bd53c 100644--- a/public/js/reports.js+++ b/public/js/reports.js@@ -1,4 +1,4 @@-/* globals expenseRestShow:true, incomeRestShow:true, year, shared, month, hideTheRest, showTheRest, showTheRestExpense, hideTheRestExpense, googleColumnChart, googleLineChart, googleStackedColumnChartg */+/* globals google, expenseRestShow:true, incomeRestShow:true, year, shared, month, hideTheRest, showTheRest, showTheRestExpense, hideTheRestExpense, googleColumnChart, googleLineChart, googleStackedColumnChart */if (typeof(google) !== 'undefined') {google.setOnLoadCallback(drawChart);}diff --git a/public/js/tags.js b/public/js/tags.jsindex c87f6b8cb7..55b5882f43 100644--- a/public/js/tags.js+++ b/public/js/tags.js@@ -1,4 +1,4 @@-/* globals zoomLevel, token, google, latitude, longitude */+/* globals zoomLevel, token, google, latitude, longitude, doPlaceMarker */$(function () {"use strict";/*