[fusion-commits] r1484 - sandbox/jx2/widgets

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu Aug 28 08:54:21 EDT 2008


Author: pagameba
Date: 2008-08-28 08:54:21 -0400 (Thu, 28 Aug 2008)
New Revision: 1484

Modified:
   sandbox/jx2/widgets/Measure.js
   sandbox/jx2/widgets/Zoom.js
Log:
move remaining Event.stopObserving to OpenLayers.Event.stopObserving

Modified: sandbox/jx2/widgets/Measure.js
===================================================================
--- sandbox/jx2/widgets/Measure.js	2008-08-28 12:53:24 UTC (rev 1483)
+++ sandbox/jx2/widgets/Measure.js	2008-08-28 12:54:21 UTC (rev 1484)
@@ -213,7 +213,7 @@
      */
     deactivate: function() {
         //console.log('Ruler.deactivate');
-        Event.stopObserving(document, 'keypress', this.keyHandler);           
+        OpenLayers.Event.stopObserving(document, 'keypress', this.keyHandler);           
         this._oButton.deactivateTool();
         this.deactivateCanvas();
         this.resetCanvas();

Modified: sandbox/jx2/widgets/Zoom.js
===================================================================
--- sandbox/jx2/widgets/Zoom.js	2008-08-28 12:53:24 UTC (rev 1483)
+++ sandbox/jx2/widgets/Zoom.js	2008-08-28 12:54:21 UTC (rev 1484)
@@ -104,7 +104,7 @@
         this.getMap().setCursor('auto');
         /*icon button*/
         this._oButton.deactivateTool();
-        Event.stopObserving(document, 'keypress', this.keypressWatcher);
+        OpenLayers.Event.stopObserving(document, 'keypress', this.keypressWatcher);
         
     },
 



More information about the fusion-commits mailing list