[Commits] r1407 - core/trunk/geoext/lib/GeoExt/widgets

commits at geoext.org commits at geoext.org
Fri Oct 9 20:46:46 CEST 2009


Author: elemoine
Date: 2009-10-09 20:46:46 +0200 (Fri, 09 Oct 2009)
New Revision: 1407

Modified:
   core/trunk/geoext/lib/GeoExt/widgets/LegendWMS.js
Log:
layerNames is declared twice, non functional change


Modified: core/trunk/geoext/lib/GeoExt/widgets/LegendWMS.js
===================================================================
--- core/trunk/geoext/lib/GeoExt/widgets/LegendWMS.js	2009-10-09 18:42:57 UTC (rev 1406)
+++ core/trunk/geoext/lib/GeoExt/widgets/LegendWMS.js	2009-10-09 18:46:46 UTC (rev 1407)
@@ -90,7 +90,7 @@
     getLegendUrl: function(layerName, layerNames) {
         var url;
         var styles = this.record && this.record.get("styles");
-        var layerNames = layerNames ||
+        layerNames = layerNames ||
                              (this.layer.params.LAYERS instanceof Array) ?
                              this.layer.params.LAYERS :
                              this.layer.params.LAYERS.split(",");



More information about the Commits mailing list