Merge pull request #384 from Celant/master

Fix dailychart.js when using non-root location
This commit is contained in:
Mike Terzo
2017-05-16 13:29:07 -04:00
committed by GitHub

View File

@@ -1,6 +1,6 @@
jQuery(function ($) {
function generateChart(el) {
var url = "/daily_reports_chart.json";
var url = "daily_reports_chart.json";
var certname = $(el).attr('data-certname');
if (typeof certname !== typeof undefined && certname !== false) {
url = url + "?certname=" + certname;