From 67f614ffb0fd8f47bcd9a0805654de1946fa2af0 Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Sat, 30 Oct 2021 01:06:06 +0200 Subject: [PATCH] Card delete closes now the popup after delete confirmation --- client/components/cards/cardDetails.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index e00ffc62e..f3693cb5d 100644 --- a/client/components/cards/cardDetails.js +++ b/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);