diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js index 4592aadb9a..524554e233 100644 --- a/ui/ui.draggable.js +++ b/ui/ui.draggable.js @@ -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; }