[Mapbender-commits] r3343 - branches/beck_dev/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Dec 16 07:48:59 EST 2008


Author: beck
Date: 2008-12-16 07:48:59 -0500 (Tue, 16 Dec 2008)
New Revision: 3343

Modified:
   branches/beck_dev/http/javascripts/mod_mapCookie.php
Log:


Modified: branches/beck_dev/http/javascripts/mod_mapCookie.php
===================================================================
--- branches/beck_dev/http/javascripts/mod_mapCookie.php	2008-12-16 12:31:26 UTC (rev 3342)
+++ branches/beck_dev/http/javascripts/mod_mapCookie.php	2008-12-16 12:48:59 UTC (rev 3343)
@@ -65,15 +65,16 @@
 				if(currentWmsLayers[j].layer_id == storedLayerId) {
 					currentWmsLayers[j].gui_layer_visible    = storedLayerVisibility;
 					currentWmsLayers[j].gui_layer_querylayer = storedLayerQueryablility;
-//					handleSelectedLayer(mod_mapCookie_target,storedWmsTitle,storedLayerName,'gui_layer_visible',storedLayerVisibility);
-//					handleSelectedLayer(mod_mapCookie_target,storedWmsTitle,storedLayerName,'gui_layer_querylayer',storedLayerVisibility);
 
 				}
 			}
 		}
 	}
 	
-	setMapRequest(mod_mapCookie_target);
+	for(var i = 0; i < currentMapState.wms.length; i++) {
+		mb_restateLayers(mod_mapCookie_target,currentMapState.wms[i].wms_id);
+	}
+	
 	eventAfterLoadWMS.trigger();
 }
 



More information about the Mapbender_commits mailing list