]> source.dussan.org Git - jquery-ui.git/commitdiff
Draggable: Fixed connectToSortable option.
authorScott González <scott.gonzalez@gmail.com>
Wed, 14 Jan 2009 02:12:44 +0000 (02:12 +0000)
committerScott González <scott.gonzalez@gmail.com>
Wed, 14 Jan 2009 02:12:44 +0000 (02:12 +0000)
ui/ui.draggable.js

index cbc6865759fbee3d548d1222f1dc52ec0211f242..8eb60b56cf448bfc0b82e59a31fc840440f93737 100644 (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;