mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
parent
4594caf9b7
commit
ed35a88a56
2 changed files with 7 additions and 4 deletions
|
|
@ -6,11 +6,14 @@ Template.attachmentsGalery.events({
|
|||
Popup.close();
|
||||
}
|
||||
),
|
||||
// If we let this event bubble, Iron-Router will handle it and empty the
|
||||
// page content, see #101.
|
||||
'click .js-open-viewer, click .js-download': function(event) {
|
||||
// If we let this event bubble, FlowRouter will handle it and empty the page
|
||||
// content, see #101.
|
||||
'click .js-download': function(event) {
|
||||
event.stopPropagation();
|
||||
},
|
||||
'click .js-open-viewer': function() {
|
||||
// XXX Not implemented!
|
||||
},
|
||||
'click .js-add-cover': function() {
|
||||
Cards.update(this.cardId, { $set: { coverId: this._id } });
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue