Fix use of absolute URLs for linecharts for the report pages.

This commit is contained in:
Thijs Alkemade 2016-03-16 11:46:12 +01:00
parent 6ab09a3603
commit 3dfa88020e
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ function drawChart() {
// month view: // month view:
// draw account chart // 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') { 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');
} }
} }