mirror of
https://github.com/wekan/wekan.git
synced 2026-01-02 15:48:49 +01:00
fixup! Ref: original & and use fileObj.meta
This commit is contained in:
parent
e7d00a24ec
commit
e117906418
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