mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-10-05 01:44:18 +00:00
Draggable/Sortable: Partial fix for #4009: Fixed ui hash for sortable receive callback when receiving a draggable.
This commit is contained in:
parent
0c8eed67f5
commit
2f2342caeb
@ -523,7 +523,9 @@ $.ui.plugin.add("draggable", "connectToSortable", {
|
||||
|
||||
inst._trigger("toSortable", event);
|
||||
inst.dropped = this.instance.element; //draggable revert needs that
|
||||
this.instance.fromOutside = inst; //Little hack so receive/update callbacks work
|
||||
//hack so receive/update callbacks work (mostly)
|
||||
inst.currentItem = inst.element;
|
||||
this.instance.fromOutside = inst;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user