[Commits] r1190 - apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer

commits at geoext.org commits at geoext.org
Wed Jul 1 05:16:29 CEST 2009


Author: tschaub
Date: 2009-07-01 05:16:29 +0200 (Wed, 01 Jul 2009)
New Revision: 1190

Modified:
   apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/Embed.js
Log:
No add layer button in the embed viewer.

Modified: apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/Embed.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/Embed.js	2009-07-01 00:50:55 UTC (rev 1189)
+++ apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/Embed.js	2009-07-01 03:16:29 UTC (rev 1190)
@@ -85,15 +85,6 @@
         this.layers = this.mapPanel.layers;
         this.registerBackgroundListeners();
 
-        var addLayerButton = new Ext.Button({
-            tooltip : "Add Layers",
-            disabled: true,
-            iconCls: "icon-addlayers",
-            handler : this.showCapabilitiesGrid,
-            scope: this
-        });
-        this.on("ready", function() {addLayerButton.enable();});
-
         var toolbar = new Ext.Toolbar({
             xtype: "toolbar",
             region: "north",



More information about the Commits mailing list