[Commits] r967 - in apps/opengeo/geoexplorer/trunk: lib theme

commits at geoext.org commits at geoext.org
Tue Jun 2 23:11:15 CEST 2009


Author: tschaub
Date: 2009-06-02 23:11:15 +0200 (Tue, 02 Jun 2009)
New Revision: 967

Modified:
   apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
   apps/opengeo/geoexplorer/trunk/theme/geoexplorer.css
Log:
Updates to reflect changes in trunk.

Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-06-02 21:10:46 UTC (rev 966)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-06-02 21:11:15 UTC (rev 967)
@@ -273,10 +273,10 @@
             zoom: mapConfig.zoom,
             items: [
                 {
-                    xtype: "gx_scaleslider",
+                    xtype: "gx_zoomslider",
                     vertical: true,
                     height: 100,
-                    plugins: new GeoExt.ScaleSliderTip({
+                    plugins: new GeoExt.ZoomSliderTip({
                         template: "<div>Zoom Level: {zoom}</div>"
                     })
                 },
@@ -1168,7 +1168,7 @@
                     scope: this
                 }
             });
-            popup.addToMapPanel(this.mapPanel);
+            this.mapPanel.add(popup);
             popup.show();
             this.popupCache[popupKey] = popup;
         } else {

Modified: apps/opengeo/geoexplorer/trunk/theme/geoexplorer.css
===================================================================
--- apps/opengeo/geoexplorer/trunk/theme/geoexplorer.css	2009-06-02 21:10:46 UTC (rev 966)
+++ apps/opengeo/geoexplorer/trunk/theme/geoexplorer.css	2009-06-02 21:11:15 UTC (rev 967)
@@ -170,7 +170,7 @@
 }
 
 /* position the zoom slider within map panel */
-.gx-scaleslider {
+.gx-zoomslider {
     top: 90px;
     left: 17px
 }



More information about the Commits mailing list