summaryrefslogtreecommitdiffstats
path: root/client/components/cards/attachments.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/cards/attachments.js')
-rw-r--r--client/components/cards/attachments.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/client/components/cards/attachments.js b/client/components/cards/attachments.js
index db0ecb8e..9e299cc0 100644
--- a/client/components/cards/attachments.js
+++ b/client/components/cards/attachments.js
@@ -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 } });
},