X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fgooglemap%2Fgooglemap.js;h=2b0b88acd2cdaac5444c1e60e2cdf097967f4666;hb=4e348dd653e2f7124550f153a30744293eab3b2f;hp=62e1d6fbdc697147ef0bf45d80919afbcf220785;hpb=f7dabf619b72ce2c915174401adbbb85891f41d6;p=myslice.git diff --git a/plugins/googlemap/googlemap.js b/plugins/googlemap/googlemap.js index 62e1d6fb..2b0b88ac 100644 --- a/plugins/googlemap/googlemap.js +++ b/plugins/googlemap/googlemap.js @@ -49,6 +49,10 @@ GoogleMap : GoogleMap }); + /* Events */ + $this.on('show.GoogleMaps', methods.show); + + /* Subscribe to query updates */ jQuery.subscribe('/results/' + options.query_uuid + '/changed', {instance: $this}, update_map); jQuery.subscribe('/update-set/' + options.query_uuid, {instance: $this}, on_resource_changed);