Compare commits

..

1 Commits

Author SHA1 Message Date
crschmidt
539df55c39 RC3 had a major bug with event handling in the MouseToolbar, introduced due
to firebug/safari-specific debug statements left in the RC. This will fix the
"Every time I drag a rectangle, it just keeps dragging" issue that users
were reporting.


git-svn-id: http://svn.openlayers.org/tags/openlayers/release-2.0-rc4@1349 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-24 05:14:46 +00:00

View File

@@ -257,6 +257,7 @@ OpenLayers.Control.MouseToolbar.prototype =
}
this.map.viewPortDiv.removeChild(document.getElementById("zoomBox"));
this.zoomBox = null;
console.log(this.startViaKeyboard);
if (this.startViaKeyboard) this.leaveMode();
break;
case "pan":