mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Draggable/Sortable: Partial fix for #4009: Fixed ui hash for sortable receive callback when receiving a draggable.
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user