From a1ad48926436de81b2ecdc783b7e8e0fe0f61a3e Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Wed, 17 Aug 2016 09:33:04 +0000 Subject: Use this.url --- wqflask/wqflask/templates/marker_regression_gn1.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wqflask/wqflask/templates/marker_regression_gn1.html b/wqflask/wqflask/templates/marker_regression_gn1.html index 71d92a23..aba903c7 100644 --- a/wqflask/wqflask/templates/marker_regression_gn1.html +++ b/wqflask/wqflask/templates/marker_regression_gn1.html @@ -266,8 +266,9 @@ checking the headers */ list = [ "/static/new/javascript/biodalliance.js", - "http://d3js.org/d3.v3.min.js", + "/dalliance/build/dalliance-all.js", "/static/new/js_external/underscore-min.js", + "http://d3js.org/d3.v3.min.js", "https://cdn.datatables.net/buttons/1.0.0/js/dataTables.buttons.min.js" ]; for (var i = 0; i < list.length; i++) { @@ -280,8 +281,8 @@ }, error: function() { // page does not exist - console.log("Failed to load "+url); - alert("Failed to load Javascript for "+url); + console.log("Failed to load "+this.url); + alert("Failed to load Javascript for "+this.url); } })}; -- cgit v1.2.3