From b4f7d528d031787cd5202ed3eaa01b830536fc8a Mon Sep 17 00:00:00 2001 From: Schuyler Erle Date: Wed, 24 May 2006 03:43:34 +0000 Subject: [PATCH] Always disable dragstart in IE on Events objects, so that mousedown/move/up works normally. git-svn-id: http://svn.openlayers.org/trunk/openlayers@310 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Events.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/OpenLayers/Events.js b/lib/OpenLayers/Events.js index eefa2fbc02..ca5fc4fb30 100644 --- a/lib/OpenLayers/Events.js +++ b/lib/OpenLayers/Events.js @@ -46,6 +46,8 @@ OpenLayers.Events.prototype = { Event.observe(div, eventType, this.handleBrowserEvent.bindAsEventListener(this)); } + // disable dragstart in IE so that mousedown/move/up works normally + Event.observe(div, "dragstart", Event.stop); }, /**