r1604 - trunk/ui
r1604 - trunk/ui
Author: scott.gonzalez
Date: Tue Jan 13 18:12:44 2009
New Revision: 1604
Modified:
trunk/ui/ui.draggable.js
Log:
Draggable: Fixed connectToSortable option.
Modified: trunk/ui/ui.draggable.js
==============================================================================
--- trunk/ui/ui.draggable.js (original)
+++ trunk/ui/ui.draggable.js Tue Jan 13 18:12:44 2009
@@ -464,7 +464,7 @@
this.instance._mouseStop(event);
//Also propagate receive event, since the sortable is actually
receiving a element
- this.instance.element.triggerHandler("sortreceive", [event,
$.extend(this.instance._ui(), { sender: inst.element })],
this.instance.options["receive"]);
+ this.instance.element.triggerHandler("sortreceive", [event,
$.extend(this.instance._uiHash(), { sender: inst.element })],
this.instance.options["receive"]);
this.instance.options.helper = this.instance.options._helper;