Skip to content
Permalink
Browse files

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

Fixes #5095 - Droppable body let revert a div on a valid drop.
  • Loading branch information
scottgonzalez committed Jan 28, 2010
1 parent 0923066 commit dd92e1608185b45e7dc9ae9b3ac2a8b5b84ea19c
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.droppable.js
@@ -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;

0 comments on commit dd92e16

Please sign in to comment.
You can’t perform that action at this time.