From a7eb669c01193a2af4b3fd1eb8588ccf032d22c3 Mon Sep 17 00:00:00 2001 From: Scott González Date: Sat, 14 Feb 2009 03:02:38 +0000 Subject: Mouse: Stop immediate propagation of click events. Partial fix for #3177 - click is fired for draggagble elements on mouseUp. --- ui/ui.core.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ui') 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; } }); -- cgit v1.2.3