aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.sortable.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.sortable.js')
-rw-r--r--ui/ui.sortable.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ui.sortable.js b/ui/ui.sortable.js
index cd4893d36..ac99c6594 100644
--- a/ui/ui.sortable.js
+++ b/ui/ui.sortable.js
@@ -390,7 +390,7 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
},
- createHelper: function() {
+ createHelper: function(e) {
var o = this.options;
var helper = typeof o.helper == 'function' ? $(o.helper.apply(this.element[0], [e, this.currentItem])) : (o.helper == "original" ? this.currentItem : this.currentItem.clone());
@@ -411,7 +411,7 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
this.refreshPositions();
//Create and append the visible helper
- this.helper = this.createHelper();
+ this.helper = this.createHelper(e);
/*
* - Position generation -