[fusion-commits] r1642 - trunk/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Thu Nov 6 13:30:46 EST 2008
Author: madair
Date: 2008-11-06 13:30:46 -0500 (Thu, 06 Nov 2008)
New Revision: 1642
Modified:
trunk/widgets/Navigator.js
Log:
closes #152: remove event.stop() so that the full click event gets processed (mousedown/mouseup)
Modified: trunk/widgets/Navigator.js
===================================================================
--- trunk/widgets/Navigator.js 2008-11-06 17:54:37 UTC (rev 1641)
+++ trunk/widgets/Navigator.js 2008-11-06 18:30:46 UTC (rev 1642)
@@ -256,7 +256,8 @@
var res = map.oMapOL.getResolution();
var size = map.oMapOL.getSize();
map.zoom(center.x + (x * size.w * res), center.y + (y * size.h * res), 1);
- new Event(e).stop();
+ //new Event(e).stop();
+ //OpenLayers.Event.stop(e);
if (activeWidget) {
map.activateWidget(activeWidget);
}
@@ -274,7 +275,7 @@
}
var center = map.getCurrentCenter();
map.zoom(center.x, center.y, factor);
- OpenLayers.Event.stop(e);
+ //OpenLayers.Event.stop(e);
if (activeWidget) {
map.activateWidget(activeWidget);
}
More information about the fusion-commits
mailing list