From 76aaefbde1e1510733b405d85130347032058cad Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Tue, 18 Jul 2023 21:16:44 +0200 Subject: [PATCH] attachment popup back was broken since new attachment viewer, now fixed --- client/components/cards/attachments.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/cards/attachments.js b/client/components/cards/attachments.js index 48b100cfe..391841602 100644 --- a/client/components/cards/attachments.js +++ b/client/components/cards/attachments.js @@ -39,7 +39,7 @@ Template.attachmentGallery.events({ 'click .js-rename': Popup.open('attachmentRename'), 'click .js-confirm-delete': Popup.afterConfirm('attachmentDelete', function() { Attachments.remove(this._id); - Popup.back(2); + Popup.back(); }), }); @@ -501,7 +501,7 @@ BlazeComponent.extendComponent({ if (name === DOMPurify.sanitize(name)) { Meteor.call('renameAttachment', this.data()._id, name); } - Popup.back(2); + Popup.back(); }, } ]