Skip to content
Browse files

core: the propagation for the mousedown has to be stopped in the mous…

…e logic, otherwise causes much pain for nested widgets (fixes #3910)
  • Loading branch information
Paul Bakaus
Paul Bakaus committed Jan 23, 2009
1 parent a84ce3f commit 3d4bc637e9bf7a4286f5ce1202477ad6fd10bf58
Showing with 5 additions and 0 deletions.
  1. +5 −0 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.
return true;

0 comments on commit 3d4bc63

Please sign in to comment.
You can’t perform that action at this time.