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

commits at geoext.org commits at geoext.org
Fri May 29 21:52:44 CEST 2009


Author: sbenthall
Date: 2009-05-29 21:52:44 +0200 (Fri, 29 May 2009)
New Revision: 911

Modified:
   apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
Log:
adding back the Add Base Layers button


Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-05-29 19:48:14 UTC (rev 910)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-05-29 19:52:44 UTC (rev 911)
@@ -536,6 +536,14 @@
                     scope : this
                 }),
                 new Ext.Button({
+                    text: "Add Base Layers",
+                    iconCls: "icon-addlayers",
+                    handler: function(){
+                        capGridPanel.addLayers(true);
+                    },
+                    scope : this
+                }),
+                new Ext.Button({
                     text: "Done",
                     handler: function() {
                         this.capGrid.hide();



More information about the Commits mailing list