[Mapbender-commits] r3547 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Feb 17 04:36:43 EST 2009
Author: verenadiewald
Date: 2009-02-17 04:36:43 -0500 (Tue, 17 Feb 2009)
New Revision: 3547
Modified:
trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php
Log:
parent.mb_mapObj[ind].getDomElement() for getting mapframe1 element in function wfsDisable
Modified: trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php 2009-02-17 09:32:47 UTC (rev 3546)
+++ trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php 2009-02-17 09:36:43 UTC (rev 3547)
@@ -275,7 +275,8 @@
}
function wfsDisable(obj) {
- var el = parent.window.frames["mapframe1"].document;
+ var ind = parent.getMapObjIndexByName("mapframe1");
+ var el = parent.mb_mapObj[ind].getDomElement();
el.onmousedown = null;
el.ondblclick = null;
el.onmousemove = null;
More information about the Mapbender_commits
mailing list