|
|
@ -601,7 +601,7 @@ |
|
|
|
_disableDraggable(dragEl); |
|
|
|
_disableDraggable(dragEl); |
|
|
|
_toggleClass(dragEl, this.options.ghostClass, false); |
|
|
|
_toggleClass(dragEl, this.options.ghostClass, false); |
|
|
|
|
|
|
|
|
|
|
|
if (!rootEl.contains(dragEl)) { |
|
|
|
if (rootEl !== dragEl.parentNode) { |
|
|
|
// drag from one list and drop into another
|
|
|
|
// drag from one list and drop into another
|
|
|
|
_dispatchEvent(dragEl.parentNode, 'sort', dragEl, rootEl, startIndex, newIndex); |
|
|
|
_dispatchEvent(dragEl.parentNode, 'sort', dragEl, rootEl, startIndex, newIndex); |
|
|
|
_dispatchEvent(rootEl, 'sort', dragEl, rootEl, startIndex, newIndex); |
|
|
|
_dispatchEvent(rootEl, 'sort', dragEl, rootEl, startIndex, newIndex); |
|
|
|