浏览代码

Merge pull request #4582 from mfilser/move_copy_card_closes_popup_if_done

Move/Copy card closes now the popup if done
Lauri Ojansivu 3 年之前
父节点
当前提交
25f9963645
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      client/components/cards/cardDetails.js

+ 2 - 2
client/components/cards/cardDetails.js

@@ -839,7 +839,7 @@ Template.moveCardPopup.events({
     this.swimlaneId = swimlaneId;
     this.listId = listId;
 
-    Popup.back();
+    Popup.back(2);
   },
 });
 BlazeComponent.extendComponent({
@@ -975,7 +975,7 @@ Template.copyCardPopup.events({
       // See https://github.com/wekan/wekan/issues/80
       Filter.addException(_id);
 
-      Popup.back();
+      Popup.back(2);
     }
   },
 });