From: Paul Bakaus Date: Sun, 8 Jun 2008 10:20:37 +0000 (+0000) Subject: core: fixed propagation issue that didn't allow resizables and sortables to work... X-Git-Tag: 1.5.1~145 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8eca969374348c619fe1df66098565d74e2c78f1;p=jquery-ui.git core: fixed propagation issue that didn't allow resizables and sortables to work together, because the event didn't bubble out. --- diff --git a/ui/ui.core.js b/ui/ui.core.js index b32d29305..d7a28c967 100644 --- a/ui/ui.core.js +++ b/ui/ui.core.js @@ -212,7 +212,7 @@ $.ui.mouse = { if (this.mouseDistanceMet(e) && this.mouseDelayMet(e)) { this._mouseStarted = (this.mouseStart(e) !== false); - if (!this._mouseStarted) { return false; } + if (!this._mouseStarted) { e.preventDefault(); return true; } } // these delegates are required to keep context