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

commits at geoext.org commits at geoext.org
Tue Mar 31 16:47:03 CEST 2009


Author: sbenthall
Date: 2009-03-31 16:47:03 +0200 (Tue, 31 Mar 2009)
New Revision: 304

Modified:
   apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js
   apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
Log:
set CapabilitiesGrid height/width in app, not in clas


Modified: apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js	2009-03-31 14:30:25 UTC (rev 303)
+++ apps/opengeo/geoexplorer/trunk/lib/CapabilitiesGrid.js	2009-03-31 14:47:03 UTC (rev 304)
@@ -1,7 +1,7 @@
 /**
  * Class: CapabilitiesGrid
  * Create a new grid displaying the WMS cabilities of a URL,
- *     or the contents of a <GeoExt.data.WMSCabilitiesStore>.  The user can
+ *     or the contents of a <GeoExt.data.WMSCapabilitiesStore>.  The user can
  *     add layers to a passed in <GeoExt.MapPanel> from the grid.
  *
  * Extends:
@@ -38,9 +38,6 @@
      */
     url: null,
 
-    height: 300,
-    width: 650,
-
     autoExpandColumn: "description",
 
     /**

Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-03-31 14:30:25 UTC (rev 303)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-03-31 14:47:03 UTC (rev 304)
@@ -235,7 +235,9 @@
             items: [
                 new CapabilitiesGrid({
                     store : this.wmsStore,
-                    mapPanel : this.mapPanel
+                    mapPanel : this.mapPanel,
+                    height: 300,
+                    width: 650
                 })
             ],
             bbar: ["->",doneButton]



More information about the Commits mailing list