提交 304c04fd 编写于 作者: R RubaXa

#489: * Fixed 'clone'

上级 d1069a97
......@@ -573,7 +573,7 @@
target = _closest(evt.target, options.draggable, el);
dragRect = dragEl.getBoundingClientRect();
parentEl = target && target.parentNode; // actualization
if (revert) {
_cloneHide(true);
......@@ -725,6 +725,7 @@
if (rootEl !== parentEl) {
newIndex = _index(dragEl);
if (newIndex != -1) {
// drag from one list and drop into another
_dispatchEvent(null, parentEl, 'sort', dragEl, rootEl, oldIndex, newIndex);
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册