提交 ea1aa2de 编写于 作者: R RubaXa

#166: + stopPropagation in _onDragOver

上级 d6dcc64a
......@@ -276,6 +276,8 @@
_css(cloneEl, 'display', 'none');
rootEl.insertBefore(cloneEl, dragEl);
}
Sortable.active = this;
}
},
......@@ -446,6 +448,8 @@
isOwner = (activeGroup === group),
canSort = options.sort;
(evt.stopPropagation !== void 0) && evt.stopPropagation();
if (!_silent && activeGroup &&
(isOwner
? canSort || (revert = !rootEl.contains(dragEl))
......@@ -626,7 +630,8 @@
lastEl =
lastCSS =
activeGroup = null;
activeGroup =
Sortable.active = null;
// Save sorting
this.options.store && this.options.store.set(this);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册