Path Handler can result in selection of map in IE (Closes #1410), with patch + research from bjorn (hooray!)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6708 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -321,6 +321,12 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
||||
if (id) {
|
||||
node.setAttribute('id', id);
|
||||
}
|
||||
|
||||
// IE hack to make elements unselectable, to prevent 'blue flash'
|
||||
// while dragging vectors; #1410
|
||||
node.setAttribute('unselectable', 'on', 0);
|
||||
node.onselectstart = function() { return(false); };
|
||||
|
||||
return node;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user