[OpenLayers-Commits] r5687 - sandbox/tschaub/history/lib/OpenLayers/Control

commits at openlayers.org commits at openlayers.org
Tue Jan 8 13:24:09 EST 2008


Author: tschaub
Date: 2008-01-08 13:24:09 -0500 (Tue, 08 Jan 2008)
New Revision: 5687

Modified:
   sandbox/tschaub/history/lib/OpenLayers/Control/NavigationHistory.js
Log:
Correct spelling of button.

Modified: sandbox/tschaub/history/lib/OpenLayers/Control/NavigationHistory.js
===================================================================
--- sandbox/tschaub/history/lib/OpenLayers/Control/NavigationHistory.js	2008-01-08 18:22:39 UTC (rev 5686)
+++ sandbox/tschaub/history/lib/OpenLayers/Control/NavigationHistory.js	2008-01-08 18:24:09 UTC (rev 5687)
@@ -130,7 +130,7 @@
         this.clear();
 
         var previousOptions = {
-            type: OpenLayers.Control.BUTTON,
+            type: OpenLayers.Control.TYPE_BUTTON,
             trigger: OpenLayers.Function.bind(this.previousTrigger, this),
             displayClass: this.displayClass + "Previous",
             onActivate: function() {},
@@ -142,7 +142,7 @@
         this.previous = new OpenLayers.Control(previousOptions);
         
         var nextOptions = {
-            type: OpenLayers.Control.BUTTON,
+            type: OpenLayers.Control.TYPE_BUTTON,
             trigger: OpenLayers.Function.bind(this.nextTrigger, this),
             displayClass: this.displayClass + "Next",
             onActivate: function() {},



More information about the Commits mailing list