From 99b369bf45840438ab119252cc59da9877fab447 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 16 Mar 2016 17:25:57 +0100 Subject: [PATCH] Revert "Fix use of absolute URLs for linecharts for the report pages." --- public/js/reports/default/month.js | 2 +- public/js/reports/default/reports.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/reports/default/month.js b/public/js/reports/default/month.js index 22bb92dbc9..be66324dff 100644 --- a/public/js/reports/default/month.js +++ b/public/js/reports/default/month.js @@ -17,7 +17,7 @@ function drawChart() { // month view: // draw account chart - lineChart('chart/account/report/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'account-balances-chart'); + lineChart('/chart/account/report/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'account-balances-chart'); } diff --git a/public/js/reports/default/reports.js b/public/js/reports/default/reports.js index 306b876257..23adac5fcd 100644 --- a/public/js/reports/default/reports.js +++ b/public/js/reports/default/reports.js @@ -116,7 +116,7 @@ function drawChart() { } if (typeof lineChart !== 'undefined' && typeof accountIds !== 'undefined') { - lineChart('chart/account/report/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'account-balances-chart'); + lineChart('/chart/account/report/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'account-balances-chart'); } }