From 3d4bc637e9bf7a4286f5ce1202477ad6fd10bf58 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Fri, 23 Jan 2009 12:52:41 +0000 Subject: [PATCH] core: the propagation for the mousedown has to be stopped in the mouse logic, otherwise causes much pain for nested widgets (fixes #3910) --- ui/ui.core.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/ui.core.js b/ui/ui.core.js index 88ee6bc9f..70fab6e26 100644 --- a/ui/ui.core.js +++ b/ui/ui.core.js @@ -455,6 +455,11 @@ $.ui.mouse = { // 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; }, -- 2.39.5