Browse Source

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 years ago
parent
commit
25f9963645
1 changed files with 2 additions and 2 deletions
  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.swimlaneId = swimlaneId;
     this.listId = listId;
     this.listId = listId;
 
 
-    Popup.back();
+    Popup.back(2);
   },
   },
 });
 });
 BlazeComponent.extendComponent({
 BlazeComponent.extendComponent({
@@ -975,7 +975,7 @@ Template.copyCardPopup.events({
       // See https://github.com/wekan/wekan/issues/80
       // See https://github.com/wekan/wekan/issues/80
       Filter.addException(_id);
       Filter.addException(_id);
 
 
-      Popup.back();
+      Popup.back(2);
     }
     }
   },
   },
 });
 });