[Commits] r313 - apps/opengeo/geoexplorer/trunk/lib

commits at geoext.org commits at geoext.org
Wed Apr 1 19:17:36 CEST 2009


Author: sbenthall
Date: 2009-04-01 19:17:36 +0200 (Wed, 01 Apr 2009)
New Revision: 313

Modified:
   apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js
Log:
changing method name AddLayer to AddLayers


Modified: apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js	2009-04-01 17:08:15 UTC (rev 312)
+++ apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js	2009-04-01 17:17:36 UTC (rev 313)
@@ -67,7 +67,7 @@
 
         this.tbar = ["->", new Ext.Button({
             text: "Add Layers",
-            handler: this.addLayer,
+            handler: this.addLayers,
             scope : this
         })];
 
@@ -83,11 +83,11 @@
     },
 
     /**
-     * Method: addLayer
+     * Method: addLayers
      * 
      * Adds a layer to the <GeoExt.MapPanel> of this instance.
      */    
-    addLayer : function(){
+    addLayers : function(){
 
         var sm = this.getSelectionModel();
 



More information about the Commits mailing list