1 | Index: ui/jquery.ui.sortable.js |
---|
2 | =================================================================== |
---|
3 | --- ui/jquery.ui.sortable.js (revision 3886) |
---|
4 | +++ ui/jquery.ui.sortable.js (working copy) |
---|
5 | @@ -%ld,%ld +%ld,%ld @@ |
---|
6 | this.helper.css("position", "absolute"); |
---|
7 | this.cssPosition = this.helper.css("position"); |
---|
8 | |
---|
9 | + //Create the placeholder |
---|
10 | + this._createPlaceholder(); |
---|
11 | + |
---|
12 | $.extend(this.offset, { |
---|
13 | click: { //Where the click happened, relative to the element |
---|
14 | left: event.pageX - this.offset.left, |
---|
15 | @@ -%ld,%ld +%ld,%ld @@ |
---|
16 | this.currentItem.hide(); |
---|
17 | } |
---|
18 | |
---|
19 | - //Create the placeholder |
---|
20 | - this._createPlaceholder(); |
---|
21 | - |
---|
22 | //Set a containment if given in the options |
---|
23 | if(o.containment) |
---|
24 | this._setContainment(); |
---|