]> 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:16:32 +0000 (16:16 -0500)
ui/jquery.ui.droppable.js

index 3942c6b8f49ae764ca8f97be3abba5e8fe236423..62bba2abad912139aeefb95096eb71ee7aaf7b48 100644 (file)
@@ -224,7 +224,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;