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

Loading…
Cancel
Save