diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-06-08 10:20:37 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-06-08 10:20:37 +0000 |
commit | 8eca969374348c619fe1df66098565d74e2c78f1 (patch) | |
tree | dd3924ad7ca01fc519285983cfb32f4c18fdeca4 /ui/ui.core.js | |
parent | 67117bc5639e8544769c4fd75366baaf44dbd9a8 (diff) | |
download | jquery-ui-8eca969374348c619fe1df66098565d74e2c78f1.tar.gz jquery-ui-8eca969374348c619fe1df66098565d74e2c78f1.zip |
core: fixed propagation issue that didn't allow resizables and sortables to work together, because the event didn't bubble out.
Diffstat (limited to 'ui/ui.core.js')
-rw-r--r-- | ui/ui.core.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 |