Draggable: Fixed connectToSortable option.

This commit is contained in:
Scott González 2009-01-14 02:12:44 +00:00
parent 4496146898
commit d422915b8e

View File

@ -464,7 +464,7 @@ $.ui.plugin.add("draggable", "connectToSortable", {
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;