Skip to content

Commit dd92e16

Browse files
committed
$.ui.ddmanager.drop() now works properly for nested droppables.
Fixes #5095 - Droppable body let revert a div on a valid drop.
1 parent 0923066 commit dd92e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.droppable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ $.ui.ddmanager = {
228228

229229
if(!this.options) return;
230230
if (!this.options.disabled && this.visible && $.ui.intersect(draggable, this, this.options.tolerance))
231-
dropped = this._drop.call(this, event);
231+
dropped = dropped || this._drop.call(this, event);
232232

233233
if (!this.options.disabled && this.visible && this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
234234
this.isout = 1; this.isover = 0;

0 commit comments

Comments
 (0)