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
This commit is contained in:
@@ -46,6 +46,8 @@ OpenLayers.Events.prototype = {
|
|||||||
Event.observe(div, eventType,
|
Event.observe(div, eventType,
|
||||||
this.handleBrowserEvent.bindAsEventListener(this));
|
this.handleBrowserEvent.bindAsEventListener(this));
|
||||||
}
|
}
|
||||||
|
// disable dragstart in IE so that mousedown/move/up works normally
|
||||||
|
Event.observe(div, "dragstart", Event.stop);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user