Skip to content
Permalink
Browse files

Draggable/Sortable: Partial fix for #4009: Fixed ui hash for sortable…

… receive callback when receiving a draggable.
  • Loading branch information
scottgonzalez committed Feb 5, 2009
1 parent 0c8eed6 commit 2f2342caebd14a226b79d9b9d4bf66316ee313a9
Showing with 3 additions and 1 deletion.
  1. +3 −1 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;

}

0 comments on commit 2f2342c

Please sign in to comment.
You can’t perform that action at this time.