do not allow doubleclicks to fall through to map from mousetoolbar
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1471 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -64,6 +64,8 @@ OpenLayers.Control.MouseToolbar.prototype =
|
||||
|
||||
btn.events = new OpenLayers.Events(this, btn, null, true);
|
||||
btn.events.register("mousedown", this, this.buttonClick);
|
||||
btn.events.register("dblclick", this,
|
||||
OpenLayers.Util.safeStopPropagation);
|
||||
btn.action = id;
|
||||
btn.title = title;
|
||||
btn.alt = title;
|
||||
|
||||
Reference in New Issue
Block a user