mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
$.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:
parent
0923066abb
commit
dd92e16081
2
ui/jquery.ui.droppable.js
vendored
2
ui/jquery.ui.droppable.js
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user