[Mapbender-commits] r7513 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Feb 1 15:15:27 EST 2011
Author: marc
Date: 2011-02-01 12:15:27 -0800 (Tue, 01 Feb 2011)
New Revision: 7513
Modified:
trunk/mapbender/http/javascripts/mod_addWMSfromfilteredList_ajax.php
Log:
#761
Modified: trunk/mapbender/http/javascripts/mod_addWMSfromfilteredList_ajax.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_addWMSfromfilteredList_ajax.php 2011-02-01 20:13:38 UTC (rev 7512)
+++ trunk/mapbender/http/javascripts/mod_addWMSfromfilteredList_ajax.php 2011-02-01 20:15:27 UTC (rev 7513)
@@ -458,9 +458,9 @@
"callback: function (opt) {" +
"if (typeof opt === 'object' && opt.success) {" +
"var wmsId = parseInt(opt.wmsId, 10);" +
- "var map = getMapObjByName('<?php echo $e_target[1]; ?>');" +
- "handleSelectedWms(map.elementName, wmsId, 'visible', 0);" +
- "handleSelectedWms(map.elementName, wmsId, 'querylayer', 0);" +
+ "var map = parent.getMapObjByName('<?php echo $e_target[1]; ?>');" +
+ "parent.handleSelectedWms(map.elementName, wmsId, 'visible', 0);" +
+ "parent.handleSelectedWms(map.elementName, wmsId, 'querylayer', 0);" +
"}" +
"loadWmsAndZoomCallback(opt);}});";
}
More information about the Mapbender_commits
mailing list