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

commits at geoext.org commits at geoext.org
Sat Jun 13 00:20:19 CEST 2009


Author: tschaub
Date: 2009-06-13 00:20:19 +0200 (Sat, 13 Jun 2009)
New Revision: 1069

Modified:
   apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
Log:
Use the actions defined above.

Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-06-12 21:57:09 UTC (rev 1068)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-06-12 22:20:19 UTC (rev 1069)
@@ -1016,7 +1016,6 @@
         // create actions for previous and next
         var navPreviousAction = new GeoExt.Action({
             tooltip: "Zoom to Previous Extent",
-            text: "previous",
             iconCls: "icon-zoom-previous",
             disabled: true,
             control: historyControl.previous
@@ -1024,7 +1023,6 @@
         
         var navNextAction = new GeoExt.Action({
             tooltip: "Zoom to Next Extent",
-            text: "next",
             iconCls: "icon-zoom-next",
             disabled: true,
             control: historyControl.next
@@ -1131,8 +1129,8 @@
                 iconCls: "icon-zoom-out",
                 scope: this
             }),
-            navPreviousButton,
-            navNextButton,
+            navPreviousAction,
+            navNextAction,
             new Ext.Button({
                 tooltip: "Zoom to Visible Extent",
                 iconCls: "icon-zoom-visible",



More information about the Commits mailing list