Merge pull request #217 from JC5/revert-216-fix-absolute-urls-report

Revert "Fix use of absolute URLs for linecharts for the report pages."
This commit is contained in:
James Cole 2016-03-16 17:26:06 +01:00
commit 31c1dd466b
2 changed files with 2 additions and 2 deletions

View File

@ -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');
}

View File

@ -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');
}
}