未验证 提交 88d517d0 编写于 作者: C Catouse 提交者: GitHub

Merge pull request #198 from easysoft/dev/droppable

* fix about droppable
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
if($newTarget) { if($newTarget) {
isIn = true; isIn = true;
var id = $newTarget.data('id'); var id = $newTarget.data('id');
if($ele.data('id') != id) isSelf = false; if($ele.data('id') != id || $ele.closest('.kanban-lane').data('id') != $newTarget.closest('.kanban-lane').data('id')) isSelf = false;
if($target === null || ($target.data('id') !== id && (!isSelf))) isNew = true; if($target === null || ($target.data('id') !== id && (!isSelf))) isNew = true;
$target = $newTarget; $target = $newTarget;
if(flex) { if(flex) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册