r2081 - trunk/ui
r2081 - trunk/ui
Author: scott.gonzalez
Date: Fri Feb 13 20:27:31 2009
New Revision: 2081
Modified:
trunk/ui/ui.core.js
Log:
Mouse: Fixed #4146: Don't set the flag to prevent click events if mouseup
occurs on a diferent element than mousedown (was preventing the next click
event from occuring).
Modified: trunk/ui/ui.core.js
==============================================================================
--- trunk/ui/ui.core.js (original)
+++ trunk/ui/ui.core.js Fri Feb 13 20:27:31 2009
@@ -484,7 +484,7 @@
if (this._mouseStarted) {
this._mouseStarted = false;
- this._preventClickEvent = true;
+ this._preventClickEvent = (event.target == this._mouseDownEvent.target);
this._mouseStop(event);
}