diff options
author | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-09-19 15:20:34 +0000 |
---|---|---|
committer | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-09-19 15:20:34 +0000 |
commit | 5bdcacd1f6ad962d813cc7d839a47a44545cfb81 (patch) | |
tree | 8b197748dd33ec1337f5b851b3157aa773c7340f /ui/ui.sortable.js | |
parent | 7c2e7965e90896b3ccf8525aeebfe2b9242203ff (diff) | |
download | jquery-ui-5bdcacd1f6ad962d813cc7d839a47a44545cfb81.tar.gz jquery-ui-5bdcacd1f6ad962d813cc7d839a47a44545cfb81.zip |
Fixed #3454 - Sortable .createHelper() bug
Diffstat (limited to 'ui/ui.sortable.js')
-rw-r--r-- | ui/ui.sortable.js | 4 |
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 - |