Browse Source

#864: + check Sortable.active in nulling method

nulling
Lebedev Konstantin 9 years ago
parent
commit
d497e64ca9
  1. 36
      Sortable.js

36
Sortable.js

@ -815,32 +815,34 @@
} }
} }
this._nulling(); this._nulling();
}, },
_nulling: function() { _nulling: function() {
// Nulling if (Sortable.active === this) {
rootEl = rootEl =
dragEl = dragEl =
parentEl = parentEl =
ghostEl = ghostEl =
nextEl = nextEl =
cloneEl = cloneEl =
scrollEl = scrollEl =
scrollParentEl = scrollParentEl =
tapEvt = tapEvt =
touchEvt = touchEvt =
moved = moved =
newIndex = newIndex =
lastEl = lastEl =
lastCSS = lastCSS =
activeGroup = activeGroup =
Sortable.active = null; Sortable.active = null;
}
}, },
handleEvent: function (/**Event*/evt) { handleEvent: function (/**Event*/evt) {

Loading…
Cancel
Save