From: Scott González Date: Wed, 14 Jan 2009 02:12:44 +0000 (+0000) Subject: Draggable: Fixed connectToSortable option. X-Git-Tag: 1.6rc5~21 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d422915b8e021ba1ee2445ce0a0d809e84a6ecd6;p=jquery-ui.git Draggable: Fixed connectToSortable option. --- diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js index cbc686575..8eb60b56c 100644 --- a/ui/ui.draggable.js +++ b/ui/ui.draggable.js @@ -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;