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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Dec 4 06:21:03 EST 2007


Author: verenadiewald
Date: 2007-12-04 06:21:03 -0500 (Tue, 04 Dec 2007)
New Revision: 1887

Modified:
   trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php
Log:
set button events to null after button action

Modified: trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php	2007-12-04 11:06:48 UTC (rev 1886)
+++ trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php	2007-12-04 11:21:03 UTC (rev 1887)
@@ -169,6 +169,12 @@
 }	
 
 function wfsEnable(obj) {
+   	var el = window.frames[mod_wfs_spatialRequest_target].document;
+   	el.onmouseover = null;
+   	el.onmousedown = null;
+   	el.onmouseup = null;
+   	el.onmousemove = null;
+   
 	if (obj.id == button_point) {
 		if (activeButton == null) {
 			activeButton = obj;
@@ -257,7 +263,7 @@
 			mod_getAreaExt_send();
 		}
 		else{
-			alert(errorMessageInvalidExtent[selectedLanguage])
+			alert(errorMessageInvalidExtent[selectedLanguage]);
 			mb_disableThisButton(activeButton.id);
 		}
 	}



More information about the Mapbender_commits mailing list