$.ui.ddmanager.drop() now works properly for nested droppables.

Fixes #5095 - Droppable body let revert a div on a valid drop.
This commit is contained in:
Scott González 2010-01-28 02:24:42 +00:00
parent 0923066abb
commit dd92e16081

View File

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