Browse Source

Card delete closes now the popup after delete confirmation

Martin Filser 3 years ago
parent
commit
67f614ffb0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/components/cards/cardDetails.js

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

@@ -1114,7 +1114,7 @@ BlazeComponent.extendComponent({
           }
         },
         'click .js-delete': Popup.afterConfirm('cardDelete', function () {
-          Popup.back();
+          Popup.close();
           // verify that there are no linked cards
           if (Cards.find({ linkedId: this._id }).count() === 0) {
             Cards.remove(this._id);