cluster_search_ui/commit
Made pengine.js path relative.
author | Chris Dijkshoorn |
---|---|
Mon Dec 22 15:07:55 2014 +0100 | |
committer | Chris Dijkshoorn |
Mon Dec 22 15:07:55 2014 +0100 | |
commit | 5972776150a10c0af7fb727d6df89cf275db02ae |
tree | a78d79e0eaccac7a27cdb9d6c536341f95763101 |
parent | c44010162e82b4be2ae0b51994ee599cfb9d7895 |
Diff style: patch stat
diff --git a/lib/cluster_search_ui/web_ui_dcg.pl b/lib/cluster_search_ui/web_ui_dcg.pl index 165fb22..4f29770 100644 --- a/lib/cluster_search_ui/web_ui_dcg.pl +++ b/lib/cluster_search_ui/web_ui_dcg.pl @@ -250,7 +250,8 @@ load_javascript(laconic) --> {http_absolute_location(js('laconic.js'), JavaScriptLaconic, [])}, html(script(src(JavaScriptLaconic),'')). load_javascript(pengines) --> - html(script(src('/pengine/pengines.js'),'')). + {http_absolute_location(js('pengines.js'), JavaScriptPengine, [])}, + html(script(src(JavaScriptPengine),'')). load_javascript(search) --> {http_absolute_location(js('search.js'), JavaScriptSearch, [])}, html(script(src(JavaScriptSearch),'')). diff --git a/web/js/search.js b/web/js/search.js index 1ceb6c2..71e2aab 100644 --- a/web/js/search.js +++ b/web/js/search.js @@ -122,7 +122,6 @@ function addPath(clusterId) { // Add path to enrichedClusters for future reference enrichedClusters[clusterId] = new cluster(path, 'undefined'); - $("#cluster"+clusterId).append(pathHtmlElements(path, clusterId))} }); } @@ -130,7 +129,6 @@ function addPath(clusterId) { function pathHtmlElements(reversedPath, clusterId) { var path = reversedPath.reverse(); var pathElements = $.el.h4(); - console.log('Reversed path: ', path); for(var i=0; i<path.length; i++) { // Label colouring