]> source.dussan.org Git - jquery-ui.git/commitdiff
Droppable: Make sure._drop is called for all relevant droppables. Fixes #6009 - Upper...
authorMichael P. Jung <michael.jung@terreon.de>
Mon, 21 Nov 2011 21:16:32 +0000 (16:16 -0500)
committerScott González <scott.gonzalez@gmail.com>
Mon, 21 Nov 2011 21:18:32 +0000 (16:18 -0500)
(cherry picked from commit fdc332ed5fb7f7e688151d5cae9b450569d73da5)

ui/jquery.ui.droppable.js

index dabf29d6c76f6322003fa89238b912187907f919..8b3c568672bbadc55b004288f921a1a2623660cb 100644 (file)
@@ -227,7 +227,7 @@ $.ui.ddmanager = {
 
                        if(!this.options) return;
                        if (!this.options.disabled && this.visible && $.ui.intersect(draggable, this, this.options.tolerance))
-                               dropped = dropped || this._drop.call(this, event);
+                               dropped = this._drop.call(this, event) || dropped;
 
                        if (!this.options.disabled && this.visible && this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
                                this.isout = 1; this.isover = 0;