X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fgooglemap%2Fstatic%2Fjs%2Fgooglemap.js;h=39e80cc0834b759d1ac09dcf5a80554813d29d63;hb=c5795ba59e99c3a9b7481f4965814eca3e9a950d;hp=3f8ae7330937c7a0d8386144b55d82fa8232769c;hpb=a0636b9fc2e25428fb9e66c61c8ce85d1b35cc5b;p=myslice.git diff --git a/plugins/googlemap/static/js/googlemap.js b/plugins/googlemap/static/js/googlemap.js index 3f8ae733..39e80cc0 100644 --- a/plugins/googlemap/static/js/googlemap.js +++ b/plugins/googlemap/static/js/googlemap.js @@ -35,7 +35,7 @@ googlemap_debug_detailed=false; /* XXX Events */ this.elmt().on('show', this, this.on_show); // TODO in destructor - // $(window).unbind('Hazelnut'); + // $(window).unbind('QueryTable'); var query = manifold.query_store.find_analyzed_query(this.options.query_uuid); this.object = query.object; @@ -101,7 +101,12 @@ googlemap_debug_detailed=false; throw "Not implemented"; break; } - return this.escape_id(key_value).replace(/\\/g, ''); + // 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 + // queryupdater was getting all mixed up + // querytable does publish hrn's with backslashes and that seems like the thing to do + return key_value; }, // return { marker: gmap_marker, ul :