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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Nov 9 05:39:42 EST 2010


Author: christoph
Date: 2010-11-09 02:39:42 -0800 (Tue, 09 Nov 2010)
New Revision: 7100

Modified:
   trunk/mapbender/http/javascripts/map_obj.js
Log:
restateLayers is now called on every map request. So now any call to restateLayers is obsolete, and the function should ideally be private to the map object.

Modified: trunk/mapbender/http/javascripts/map_obj.js
===================================================================
--- trunk/mapbender/http/javascripts/map_obj.js	2010-11-09 10:38:25 UTC (rev 7099)
+++ trunk/mapbender/http/javascripts/map_obj.js	2010-11-09 10:39:42 UTC (rev 7100)
@@ -1132,7 +1132,7 @@
 			wmsArray : [];
         for (var ii = 0; ii < that.wms.length; ii++) {
 			var currentWms = that.wms[ii];
-            
+            that.restateLayers(currentWms.wms_id);
 			if (restrictedWmsArray.length > 0) {
 				var found = true;
 				for (var j = 0; j < restrictedWmsArray.length; j++) {



More information about the Mapbender_commits mailing list