mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Merge pull request #5489 from mfilser/master
attachment popup back was broken since new attachment viewer, now fixed
This commit is contained in:
commit
4801e26b2f
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