[fusion-commits] r3051 - trunk/widgets

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu Mar 21 05:09:46 PDT 2019


Author: jng
Date: 2019-03-21 05:09:46 -0700 (Thu, 21 Mar 2019)
New Revision: 3051

Modified:
   trunk/widgets/PanQuery.js
Log:
Remove non-existent API usage in PanQuery.js

Fixes #666

Modified: trunk/widgets/PanQuery.js
===================================================================
--- trunk/widgets/PanQuery.js	2019-03-05 10:52:23 UTC (rev 3050)
+++ trunk/widgets/PanQuery.js	2019-03-21 12:09:46 UTC (rev 3051)
@@ -72,8 +72,6 @@
     mouseUp: function(e) {
         //this.getMap().setCursor(this.cursorNormal);
         var handler = this.control.handler;
-        
-        var p = {x:Event.pointerX(e), y:Event.pointerY(e)};    
 
         var dx = handler.start.x - handler.last.x;
         var dy = handler.start.y - handler.last.y;
@@ -106,7 +104,8 @@
 
             this.getMap().query(options);
         }
-        Event.stop(e);
+        e.preventDefault();
+        e.stopPropagation();
     },    
     activate : function() {
         this.control.activate();



More information about the fusion-commits mailing list