diff options
-rw-r--r-- | ui/ui.draggable.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js index 4592aadb9..524554e23 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; } |