From: Scott González Date: Sat, 14 Feb 2009 03:02:38 +0000 (+0000) Subject: Mouse: Stop immediate propagation of click events. Partial fix for #3177 - click... X-Git-Tag: 1.7~90 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a7eb669c01193a2af4b3fd1eb8588ccf032d22c3;p=jquery-ui.git Mouse: Stop immediate propagation of click events. Partial fix for #3177 - click is fired for draggagble elements on mouseUp. --- 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; } });