]> source.dussan.org Git - jquery-ui.git/commitdiff
core: fixed propagation issue that didn't allow resizables and sortables to work...
authorPaul Bakaus <paul.bakaus@googlemail.com>
Sun, 8 Jun 2008 10:20:37 +0000 (10:20 +0000)
committerPaul Bakaus <paul.bakaus@googlemail.com>
Sun, 8 Jun 2008 10:20:37 +0000 (10:20 +0000)
ui/ui.core.js

index b32d29305db3722370e0dea32fcce380f5b41249..d7a28c9675d0ddf095771ebd2653a75e0811a84c 100644 (file)
@@ -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