浏览代码

Card delete closes now the popup after delete confirmation

Martin Filser 3 年之前
父节点
当前提交
67f614ffb0
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);