提交 0cb1fe82 编写于 作者: D desmaisons_david

Rename insertAfter into willInsertAfter

上级 08b0143f
......@@ -1249,7 +1249,7 @@
}
function _onMove(fromEl, toEl, dragEl, dragRect, targetEl, targetRect, originalEvt, insertAfter) {
function _onMove(fromEl, toEl, dragEl, dragRect, targetEl, targetRect, originalEvt, willInsertAfter) {
var evt,
sortable = fromEl[expando],
onMoveFn = sortable.options.onMove,
......@@ -1264,7 +1264,7 @@
evt.draggedRect = dragRect;
evt.related = targetEl || toEl;
evt.relatedRect = targetRect || toEl.getBoundingClientRect();
evt.insertAfter = insertAfter;
evt.willInsertAfter = willInsertAfter;
fromEl.dispatchEvent(evt);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册