diff options
Diffstat (limited to 'client/components')
-rw-r--r-- | client/components/cards/templates.html | 4 | ||||
-rw-r--r-- | client/components/modal/events.js | 14 | ||||
-rw-r--r-- | client/components/modal/helpers.js | 0 | ||||
-rw-r--r-- | client/components/modal/modal.tpl.jade | 5 |
4 files changed, 0 insertions, 23 deletions
diff --git a/client/components/cards/templates.html b/client/components/cards/templates.html index 23f9ce4f..94d54b6b 100644 --- a/client/components/cards/templates.html +++ b/client/components/cards/templates.html @@ -1,7 +1,3 @@ -<template name="cardModal"> - {{ > modal template='cardDetailWindow' card=this board=this.board }} -</template> - <template name="cardMemberPopup"> <div class="board-member-menu"> <div class="mini-profile-info"> diff --git a/client/components/modal/events.js b/client/components/modal/events.js deleted file mode 100644 index 2943f841..00000000 --- a/client/components/modal/events.js +++ /dev/null @@ -1,14 +0,0 @@ -Template.modal.events({ - 'click .window-overlay': function(event) { - // We only want to catch the event if the user click on the .window-overlay - // div itself, not a child (ie, not the overlay window) - if (event.target !== event.currentTarget) - return; - Utils.goBoardId(this.card.board()._id); - event.preventDefault(); - }, - 'click .js-close-window': function(event) { - Utils.goBoardId(this.card.board()._id); - event.preventDefault(); - } -}); diff --git a/client/components/modal/helpers.js b/client/components/modal/helpers.js deleted file mode 100644 index e69de29b..00000000 --- a/client/components/modal/helpers.js +++ /dev/null diff --git a/client/components/modal/modal.tpl.jade b/client/components/modal/modal.tpl.jade deleted file mode 100644 index 2f40ad75..00000000 --- a/client/components/modal/modal.tpl.jade +++ /dev/null @@ -1,5 +0,0 @@ -.window-overlay.show - .window - .window-wrapper.clearfix - a.icon-lg.fa.fa-times.dialog-close-button.js-close-window(title="{{_ 'modal-close-title'}}") - +UI.dynamic(template=template) |