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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Nov 3 08:48:56 EDT 2010


Author: christoph
Date: 2010-11-03 05:48:56 -0700 (Wed, 03 Nov 2010)
New Revision: 7084

Modified:
   trunk/mapbender/http/javascripts/wms.js
Log:
if no style is available, set no style rather than "default"

Modified: trunk/mapbender/http/javascripts/wms.js
===================================================================
--- trunk/mapbender/http/javascripts/wms.js	2010-11-03 10:53:16 UTC (rev 7083)
+++ trunk/mapbender/http/javascripts/wms.js	2010-11-03 12:48:56 UTC (rev 7084)
@@ -430,7 +430,7 @@
 		var currentLayer = this.objLayer[i];
 		if (currentLayer.layer_name === layername) {
 			if (currentLayer.gui_layer_style === '' || currentLayer.gui_layer_style === null){
-				return "default";
+				return "";
 			//				return false;
 			}
 			else{



More information about the Mapbender_commits mailing list