@cryptotaxi247 / netdata-1 / commits / b62a02ead

fix loading custom dashboard_info in /old dashboard (#9792)

Jacek Kolasa committed Aug 22, 2020 at 23:01 UTC b62a02eadf2c3e3a498ba02ae9689b4ad36b72ca
1 file changed +1 -1
web/gui/main.js
+1 -1
@@ -1929,7 +1929,7 @@ function renderChartsAndMenu(data) {
1929
1930 function loadJs(url, callback) {
1931 $.ajax({
1932 - url: `../${url}`,
1932 + url: url.startsWith("http") ? url : `../${url}`,
1933 cache: true,
1934 dataType: "script",
1935 xhrFields: { withCredentials: true } // required for the cookie