|
|
@ -276,6 +276,8 @@ |
|
|
|
_css(cloneEl, 'display', 'none'); |
|
|
|
_css(cloneEl, 'display', 'none'); |
|
|
|
rootEl.insertBefore(cloneEl, dragEl); |
|
|
|
rootEl.insertBefore(cloneEl, dragEl); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sortable.active = this; |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -446,6 +448,8 @@ |
|
|
|
isOwner = (activeGroup === group), |
|
|
|
isOwner = (activeGroup === group), |
|
|
|
canSort = options.sort; |
|
|
|
canSort = options.sort; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(evt.stopPropagation !== void 0) && evt.stopPropagation(); |
|
|
|
|
|
|
|
|
|
|
|
if (!_silent && activeGroup && |
|
|
|
if (!_silent && activeGroup && |
|
|
|
(isOwner |
|
|
|
(isOwner |
|
|
|
? canSort || (revert = !rootEl.contains(dragEl)) |
|
|
|
? canSort || (revert = !rootEl.contains(dragEl)) |
|
|
@ -626,7 +630,8 @@ |
|
|
|
lastEl = |
|
|
|
lastEl = |
|
|
|
lastCSS = |
|
|
|
lastCSS = |
|
|
|
|
|
|
|
|
|
|
|
activeGroup = null; |
|
|
|
activeGroup = |
|
|
|
|
|
|
|
Sortable.active = null; |
|
|
|
|
|
|
|
|
|
|
|
// Save sorting
|
|
|
|
// Save sorting
|
|
|
|
this.options.store && this.options.store.set(this); |
|
|
|
this.options.store && this.options.store.set(this); |
|
|
|