From 1454a37006ef8a669bf54789dd6ece4b7519a004 Mon Sep 17 00:00:00 2001
From: Reuben Turk <reubenturk@gmail.com>
Date: Sun, 9 Jan 2011 11:23:00 +0000
Subject: [PATCH] #802102 by rooby - When editing locations, after clicking to
 remove a marker new markers are not properly added.

---
 js/locpick.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/js/locpick.js b/js/locpick.js
index d48815d..09746fa 100644
--- a/js/locpick.js
+++ b/js/locpick.js
@@ -18,6 +18,7 @@ Drupal.gmap.addHandler('gmap', function (elem) {
 
   obj.bind("locpickremove", function () {
     obj.map.removeOverlay(obj.locpick_point);
+    obj.locpick_point = null;
     obj.locpick_coord = null;
     obj.change('locpickchange', -1);
   });
-- 
GitLab