summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xjs/gmap.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/gmap.js b/js/gmap.js
index bc53df9..304afec 100755
--- a/js/gmap.js
+++ b/js/gmap.js
@@ -38,6 +38,7 @@ Drupal.gmap = new function() {
this.setup = function() {
var obj = this;
+ var hls;
var initcallback = function(mapid) {
return (function() {
@@ -71,7 +72,8 @@ Drupal.gmap = new function() {
if (_handlers[control]) {
for (var i=0; i<_handlers[control].length; i++) {
- _handlers[control][i].call(_maps[mapid], obj);
+ hls = {};
+ _handlers[control][i].call(_maps[mapid], obj, hls);
}
}
else {