Skip to content
Permalink
Browse files

Fixed #3454 - Sortable .createHelper() bug

  • Loading branch information...
eduardolundgren committed Sep 19, 2008
1 parent 7c2e796 commit 5bdcacd1f6ad962d813cc7d839a47a44545cfb81
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 -

0 comments on commit 5bdcacd

Please sign in to comment.
You can’t perform that action at this time.