Ticket #3552: nested-mouse.patch
| File nested-mouse.patch, 0.9 KB (added by scott.gonzalez, 19 months ago) |
|---|
-
Users/sgonzale/Documents/workspace/jQuery
412 412 }, 413 413 414 414 _mouseDown: function(event) { 415 if (event.originalEvent.mouseHandled) { return; } 416 415 417 // we may have missed mouseup (out of window) 416 418 (this._mouseStarted && this._mouseUp(event)); 417 419 … … 455 457 // anymore, so this fix is needed 456 458 ($.browser.safari || event.preventDefault()); 457 459 458 // was changed to return true in rev 1000 because that allows the 459 // event to bubble - however, exactly that causes much pain for 460 // nested widgets, so we call stopPropagation(). Building a work- 461 // around for the above is much easier. 462 event.stopPropagation(); 460 event.originalEvent.mouseHandled = true; 463 461 return true; 464 462 }, 465 463
![(please configure the [header_logo] section in trac.ini)](/chrome/site/nologo.gif)