Mouse: Stop immediate propagation of click events. Partial fix for #3177 - click is fired for draggagble elements on mouseUp.

This commit is contained in:
Scott González 2009-02-14 03:02:38 +00:00
parent f3feb25712
commit a7eb669c01

View File

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