mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 05:27:14 -04:00
fixup! Ref: original & and use fileObj.meta
This commit is contained in:
parent
0f272b1e66
commit
5dcf7f55fd
1 changed files with 2 additions and 2 deletions
|
@ -13,10 +13,10 @@ Template.attachmentsGalery.events({
|
|||
event.stopPropagation();
|
||||
},
|
||||
'click .js-add-cover'() {
|
||||
Cards.findOne(this.cardId).setCover(this._id);
|
||||
Cards.findOne(this.meta.cardId).setCover(this._id);
|
||||
},
|
||||
'click .js-remove-cover'() {
|
||||
Cards.findOne(this.cardId).unsetCover();
|
||||
Cards.findOne(this.meta.cardId).unsetCover();
|
||||
},
|
||||
'click .js-preview-image'(event) {
|
||||
Popup.open('previewAttachedImage').call(this, event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue