[Commits] r2137 - sandbox/bartvde/playground/geoext.ux/ux/WMSTree/lib/GeoExt.ux

commits at geoext.org commits at geoext.org
Tue Apr 27 16:14:13 CEST 2010


Author: bartvde
Date: 2010-04-27 16:14:13 +0200 (Tue, 27 Apr 2010)
New Revision: 2137

Modified:
   sandbox/bartvde/playground/geoext.ux/ux/WMSTree/lib/GeoExt.ux/WMSLoader.js
Log:
minor changes

Modified: sandbox/bartvde/playground/geoext.ux/ux/WMSTree/lib/GeoExt.ux/WMSLoader.js
===================================================================
--- sandbox/bartvde/playground/geoext.ux/ux/WMSTree/lib/GeoExt.ux/WMSLoader.js	2010-04-27 14:14:11 UTC (rev 2136)
+++ sandbox/bartvde/playground/geoext.ux/ux/WMSTree/lib/GeoExt.ux/WMSLoader.js	2010-04-27 14:14:13 UTC (rev 2137)
@@ -32,7 +32,7 @@
 
     processLayer: function(layer, url, node) {
         Ext.each(layer.nestedLayers, function(el) {
-            var n = this.createNode({text: el.title, 
+            var n = this.createNode({text: el.title || el.name, 
                 // use nodeType 'node' so no AsyncTreeNodes are created
                 nodeType: 'node',
                 layer: this.createWMSLayer(el, url),



More information about the Commits mailing list