aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.draggable.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.draggable.js')
-rw-r--r--ui/ui.draggable.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js
index fc25ab3fd..a18546001 100644
--- a/ui/ui.draggable.js
+++ b/ui/ui.draggable.js
@@ -428,6 +428,11 @@ $.ui.plugin.add("draggable", "connectToSortable", {
this.instance.element.triggerHandler("sortreceive", [event, $.extend(this.instance._ui(), { sender: inst.element })], this.instance.options["receive"]);
this.instance.options.helper = this.instance.options._helper;
+
+ if(inst.options.helper == 'original') {
+ this.instance.currentItem.css({ top: 'auto', left: 'auto' });
+ }
+
} else {
this.instance.cancelHelperRemoval = false; //Remove the helper in the sortable instance
this.instance._propagate("deactivate", event, inst);