Browse Source

#1009

pull/1029/merge
Lebedev Konstantin 8 years ago
parent
commit
2ecd5034ea
  1. 4
      Sortable.js

4
Sortable.js

@ -492,6 +492,8 @@
// Drag start event // Drag start event
_dispatchEvent(this, rootEl, 'start', dragEl, rootEl, oldIndex); _dispatchEvent(this, rootEl, 'start', dragEl, rootEl, oldIndex);
} else {
this._nulling();
} }
}, },
@ -668,7 +670,7 @@
moved = true; moved = true;
if (activeGroup && !options.disabled && if (activeSortable && !options.disabled &&
(isOwner (isOwner
? canSort || (revert = !rootEl.contains(dragEl)) // Reverting item into the original list ? canSort || (revert = !rootEl.contains(dragEl)) // Reverting item into the original list
: ( : (

Loading…
Cancel
Save