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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Feb 17 04:32:47 EST 2009


Author: verenadiewald
Date: 2009-02-17 04:32:47 -0500 (Tue, 17 Feb 2009)
New Revision: 3546

Modified:
   trunk/mapbender/http/javascripts/requestGeometryConstructor.js
Log:
line 30: var el = mb_mapObj[ind].getDomElement() for getting mapframe1 element

Modified: trunk/mapbender/http/javascripts/requestGeometryConstructor.js
===================================================================
--- trunk/mapbender/http/javascripts/requestGeometryConstructor.js	2009-02-17 09:26:06 UTC (rev 3545)
+++ trunk/mapbender/http/javascripts/requestGeometryConstructor.js	2009-02-17 09:32:47 UTC (rev 3546)
@@ -26,7 +26,8 @@
 		s = new Snapping(this.geomTarget);
 		callback = callbackFunction;
 		
-	   	var el = window.frames[target].document;
+		var ind = getMapObjIndexByName(target);
+		var el = mb_mapObj[ind].getDomElement();
 	   	el.onmouseover = null;
 	   	el.onmousedown = null;
 	   	el.onmouseup = null;



More information about the Mapbender_commits mailing list