From c5795ba59e99c3a9b7481f4965814eca3e9a950d Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 13 Nov 2013 08:24:41 +0100 Subject: [PATCH] unfinished business on newnames (unsaved pending changes..) --- myslice/urls.py | 2 +- plugins/googlemap/static/js/googlemap.js | 2 +- plugins/queryupdater/__init__.py | 6 +++--- plugins/queryupdater/static/js/queryupdater.js | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/myslice/urls.py b/myslice/urls.py index de14785f..32109579 100644 --- a/myslice/urls.py +++ b/myslice/urls.py @@ -59,7 +59,7 @@ urlpatterns = patterns( # Portal url(r'^sample/', include('sample.urls')), # Debug - url(r'^debug/', include('debug_platform.urls')), +# url(r'^debug/', include('debug_platform.urls')), # # various trash views - bound to go away # diff --git a/plugins/googlemap/static/js/googlemap.js b/plugins/googlemap/static/js/googlemap.js index 9a56d379..39e80cc0 100644 --- a/plugins/googlemap/static/js/googlemap.js +++ b/plugins/googlemap/static/js/googlemap.js @@ -104,7 +104,7 @@ googlemap_debug_detailed=false; // XXX BACKSLASHES original code was reading like this //return this.escape_id(key_value).replace(/\\/g, ''); // however this sequence removes backslashes from hrn's and as a result - // resources_selected was getting all mixed up + // queryupdater was getting all mixed up // querytable does publish hrn's with backslashes and that seems like the thing to do return key_value; }, diff --git a/plugins/queryupdater/__init__.py b/plugins/queryupdater/__init__.py index 9b347d3e..ad345c8f 100644 --- a/plugins/queryupdater/__init__.py +++ b/plugins/queryupdater/__init__.py @@ -3,12 +3,12 @@ from unfold.plugin import Plugin class QueryUpdater(Plugin): def template_file (self): - return "resources_selected.html" + return "queryupdater.html" def requirements (self): reqs = { - 'js_files' : [ "js/resources_selected.js" ] , - 'css_files': [ "css/resources_selected.css" ], + 'js_files' : [ "js/queryupdater.js" ] , + 'css_files': [ "css/queryupdater.css" ], } return reqs diff --git a/plugins/queryupdater/static/js/queryupdater.js b/plugins/queryupdater/static/js/queryupdater.js index ebfa6eb5..7d7de24f 100644 --- a/plugins/queryupdater/static/js/queryupdater.js +++ b/plugins/queryupdater/static/js/queryupdater.js @@ -80,12 +80,12 @@ do_reset: function(e) { - throw 'resources_selected.do_reset Not implemented'; + throw 'queryupdater.do_reset Not implemented'; }, do_clear_annotations: function(e) { - throw 'resources_selected.do_clear_annotations Not implemented'; + throw 'queryupdater.do_clear_annotations Not implemented'; }, /************************** GUI MANIPULATION **************************/ -- 2.43.0