diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-02-14 03:02:38 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-02-14 03:02:38 +0000 |
commit | a7eb669c01193a2af4b3fd1eb8588ccf032d22c3 (patch) | |
tree | 08866ab2d205943eb91a634aa82ef1b828340035 /ui | |
parent | f3feb25712092f455b24476b2f0528c2901f357f (diff) | |
download | jquery-ui-a7eb669c01193a2af4b3fd1eb8588ccf032d22c3.tar.gz jquery-ui-a7eb669c01193a2af4b3fd1eb8588ccf032d22c3.zip |
Mouse: Stop immediate propagation of click events. Partial fix for #3177 - click is fired for draggagble elements on mouseUp.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.core.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js index b8ea359c8..492e3a3ea 100644 --- a/ui/ui.core.js +++ b/ui/ui.core.js @@ -380,6 +380,7 @@ $.ui.mouse = { .bind('click.'+this.widgetName, function(event) { if(self._preventClickEvent) { self._preventClickEvent = false; + event.stopImmediatePropagation(); return false; } }); |