[Mapbender-commits] r7761 - branches/2.7/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Apr 11 14:15:24 EDT 2011


Author: marc
Date: 2011-04-11 11:15:24 -0700 (Mon, 11 Apr 2011)
New Revision: 7761

Modified:
   branches/2.7/http/plugins/mb_background.js
Log:
first Maprequest added #808

Modified: branches/2.7/http/plugins/mb_background.js
===================================================================
--- branches/2.7/http/plugins/mb_background.js	2011-04-11 18:11:09 UTC (rev 7760)
+++ branches/2.7/http/plugins/mb_background.js	2011-04-11 18:15:24 UTC (rev 7761)
@@ -83,6 +83,9 @@
 				Mapbender.modules['overview'].wms[0].gui_wms_visible = 1;
 				setSingleMapRequest('overview',Mapbender.modules['overview'].wms[0].wms_id);
 			}
+			//workaround for first Maprequest
+			setSingleMapRequest(o.target,map.wms[0].wms_id);
+
 			// if less than two background wms are found, 
 			// do not display buttons
 			if (numBackgroundWms < 2) {



More information about the Mapbender_commits mailing list