[Mapbender-commits] r4576 - branches/2.6/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sat Aug 29 10:07:09 EDT 2009


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

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

Modified: branches/2.6/http/javascripts/mod_selectMapsize.php
===================================================================
--- branches/2.6/http/javascripts/mod_selectMapsize.php	2009-08-28 16:07:40 UTC (rev 4575)
+++ branches/2.6/http/javascripts/mod_selectMapsize.php	2009-08-29 14:07:08 UTC (rev 4576)
@@ -33,7 +33,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