mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
attachment popup back was broken since new attachment viewer, now fixed
This commit is contained in:
parent
a01bc0f325
commit
76aaefbde1
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
},
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue