]> source.dussan.org Git - jquery-ui.git/commitdiff
Mouse: Stop immediate propagation of click events. Partial fix for #3177 - click...
authorScott González <scott.gonzalez@gmail.com>
Sat, 14 Feb 2009 03:02:38 +0000 (03:02 +0000)
committerScott González <scott.gonzalez@gmail.com>
Sat, 14 Feb 2009 03:02:38 +0000 (03:02 +0000)
ui/ui.core.js

index b8ea359c868945d5ccc8691194e654cc319eeddd..492e3a3ea28edf4aafff411d31a4c45a90961ace 100644 (file)
@@ -380,6 +380,7 @@ $.ui.mouse = {
                        .bind('click.'+this.widgetName, function(event) {
                                if(self._preventClickEvent) {
                                        self._preventClickEvent = false;
+                                       event.stopImmediatePropagation();
                                        return false;
                                }
                        });