[Mapbender-commits] r5673 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Feb 25 08:34:25 EST 2010


Author: christoph
Date: 2010-02-25 08:34:24 -0500 (Thu, 25 Feb 2010)
New Revision: 5673

Modified:
   trunk/mapbender/http/javascripts/mod_digitize_tab.php
Log:


Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php	2010-02-25 13:25:57 UTC (rev 5672)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php	2010-02-25 13:34:24 UTC (rev 5673)
@@ -774,8 +774,9 @@
 	if(mod_digitizeEvent == button_insert){
 		mod_digitize_timeout();
 		obj.style.cursor = 'crosshair';
-		$(obj).click(function (e){
+		$(obj).unbind("click").click(function (e){
 			insertBasepoint(e);
+			return false;
 		});
 
 		basepointObject = obj;
@@ -2040,7 +2041,7 @@
 	res = parent.Mapbender.modules[mod_digitize_elName].events.openDialog.trigger({
 		geometryIndex: geometryIndex,
 		feature: d.get(geometryIndex)
-	});
+	}, "AND");
 	if (res === false) {
 		return;	
 	}



More information about the Mapbender_commits mailing list