This commit is contained in:
zhouxin
2022-03-02 05:49:21 +00:00
parent b63fa55607
commit 087916a60e
+5 -5
View File
@@ -297,10 +297,10 @@ function changeCardColType(card, fromColType, toColType, kanbanID)
}
else if(toColType == 'closed')
{
if(fromColType == 'done')
if(fromColType != 'closed')
{
link = createLink('productplan', 'close', 'planID=' + objectID);
showIframe = false;
link = createLink('productplan', 'close', 'planID=' + objectID, '', true);
showIframe = true;
}
}
@@ -469,8 +469,8 @@ if(!window.kanbanDropRules)
{
window.kanbanDropRules =
{
wait: ['doing'],
doing: ['done'],
wait: ['doing', 'closed'],
doing: ['done', 'closed'],
done: ['doing', 'closed'],
closed: ['doing']
}