r1999 - trunk/ui
r1999 - trunk/ui
Author: scott.gonzalez
Date: Wed Feb 4 20:12:23 2009
New Revision: 1999
Modified:
trunk/ui/ui.draggable.js
Log:
Draggable/Sortable: Partial fix for #4009: Fixed ui hash for sortable
receive callback when receiving a draggable.
Modified: trunk/ui/ui.draggable.js
==============================================================================
--- trunk/ui/ui.draggable.js (original)
+++ trunk/ui/ui.draggable.js Wed Feb 4 20:12:23 2009
@@ -523,7 +523,9 @@
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;
}