From 087916a60e2eab4a44c9b86887d98b8f37666901 Mon Sep 17 00:00:00 2001 From: zhouxin Date: Wed, 2 Mar 2022 05:49:21 +0000 Subject: [PATCH] Fix bug #20191. --- module/productplan/js/browse.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/module/productplan/js/browse.js b/module/productplan/js/browse.js index 46fa3e8083..025ac18b59 100644 --- a/module/productplan/js/browse.js +++ b/module/productplan/js/browse.js @@ -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'] }