r1763 - trunk/ui
r1763 - trunk/ui
Author: paul.bakaus
Date: Fri Jan 23 04:52:41 2009
New Revision: 1763
Modified:
trunk/ui/ui.core.js
Log:
core: the propagation for the mousedown has to be stopped in the mouse
logic, otherwise causes much pain for nested widgets (fixes #3910)
Modified: trunk/ui/ui.core.js
==============================================================================
--- trunk/ui/ui.core.js (original)
+++ trunk/ui/ui.core.js Fri Jan 23 04:52:41 2009
@@ -455,6 +455,11 @@
// anymore, so this fix is needed
($.browser.safari || event.preventDefault());
+ // was changed to return true in rev 1000 because that allows the
+ // event to bubble - however, exactly that causes much pain for
+ // nested widgets, so we call stopPropagation(). Building a work-
+ // around for the above is much easier.
+ event.stopPropagation();
return true;
},