aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2016-08-14 12:56:01 +0000
committerPjotr Prins2016-08-14 12:56:01 +0000
commit2c95cfcd4bfa00562be08bda5b943c1302af1821 (patch)
treefc28fc6250673e5789fa5086da878e47fc55894c
parentf71939a443b3fe07f1683f00ccd342b540016084 (diff)
downloadgenenetwork2-2c95cfcd4bfa00562be08bda5b943c1302af1821.tar.gz
Check routing paths: notice use of this.url
-rw-r--r--wqflask/wqflask/templates/marker_regression_gn1.html13
1 files changed, 9 insertions, 4 deletions
diff --git a/wqflask/wqflask/templates/marker_regression_gn1.html b/wqflask/wqflask/templates/marker_regression_gn1.html
index 47e282cf..f5c4b4be 100644
--- a/wqflask/wqflask/templates/marker_regression_gn1.html
+++ b/wqflask/wqflask/templates/marker_regression_gn1.html
@@ -265,10 +265,15 @@
/* This section checks for paths to JS libraries by
checking the headers */
list = [
+ /* check for static path */
"/static/new/javascript/biodalliance.js",
- "http://d3js.org/d3.v3.min.js",
"/static/new/js_external/underscore-min.js",
- "https://cdn.datatables.net/buttons/1.0.0/js/dataTables.buttons.min.js"
+ /* check for dalliance JS (see ./etc/default_settings.py) */
+ "/dalliance/build/dalliance-all.js",
+ /* D3 path (FIXME) */
+ "http://d3js.org/d3.v3.min.js",
+ /* datatables path (FIXME) */
+ "http://cdn.datatables.net/buttons/1.0.0/js/dataTables.buttons.min.js"
];
for (var i = 0; i < list.length; i++) {
url = list[i];
@@ -280,8 +285,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);
}
})};
</script>