Sfoglia il codice sorgente

Move/Copy card closes now the popup if done

- Resolves discussion: #4337
Martin Filser 3 anni fa
parent
commit
490ad65b6e
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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);
     }
   },
 });