Reset the mapMarker when removing it.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 4 Mar 2010 23:57:22 +0000 (18:57 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 4 Mar 2010 23:57:22 +0000 (18:57 -0500)
Some drivers will need to make sure placeMapMarker will recreate a new marker.

kronolith/js/kronolith.js

index 7cf567e..8ed1102 100644 (file)
@@ -4063,6 +4063,8 @@ KronolithCore = {
             $('kronolithEventLocationLon').value = null;
             $('kronolithEventLocationLat').value = null;
         }
+
+        this.mapMarker = false;
     },
 
     ensureMap: function()