Merge pull request #384 from Celant/master
Fix dailychart.js when using non-root location
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
jQuery(function ($) {
|
jQuery(function ($) {
|
||||||
function generateChart(el) {
|
function generateChart(el) {
|
||||||
var url = "/daily_reports_chart.json";
|
var url = "daily_reports_chart.json";
|
||||||
var certname = $(el).attr('data-certname');
|
var certname = $(el).attr('data-certname');
|
||||||
if (typeof certname !== typeof undefined && certname !== false) {
|
if (typeof certname !== typeof undefined && certname !== false) {
|
||||||
url = url + "?certname=" + certname;
|
url = url + "?certname=" + certname;
|
||||||
|
|||||||
Reference in New Issue
Block a user