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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sat Aug 29 10:12:13 EDT 2009


Author: marc
Date: 2009-08-29 10:12:12 -0400 (Sat, 29 Aug 2009)
New Revision: 4577

Modified:
   trunk/mapbender/http/javascripts/mod_selectMapsize.php
Log:
http://trac.osgeo.org/mapbender/ticket/510

Modified: trunk/mapbender/http/javascripts/mod_selectMapsize.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_selectMapsize.php	2009-08-29 14:07:08 UTC (rev 4576)
+++ trunk/mapbender/http/javascripts/mod_selectMapsize.php	2009-08-29 14:12:12 UTC (rev 4577)
@@ -38,7 +38,7 @@
 	mb_mapObj[ind].height = h;
 	document.getElementById(mod_selectMapsize_target).style.width = mb_mapObj[ind].width;
 	document.getElementById(mod_selectMapsize_target).style.height = mb_mapObj[ind].height;
-	window.frames[mod_selectMapsize_target].document.getElementById("maps").style.width = mb_mapObj[ind].width;
-	window.frames[mod_selectMapsize_target].document.getElementById("maps").style.height = mb_mapObj[ind].height;
+	document.getElementById("mapframe1").style.width = mb_mapObj[ind].width;
+	document.getElementById("mapframe1").style.height = mb_mapObj[ind].height;
 	setMapRequest(mod_selectMapsize_target);
-}
\ No newline at end of file
+}



More information about the Mapbender_commits mailing list