diff options
-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 | ||||
-rw-r--r-- | i18n/en.i18n.json | 1 |
5 files changed, 0 insertions, 24 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) diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json index bf7293dd..bdefaa0f 100644 --- a/i18n/en.i18n.json +++ b/i18n/en.i18n.json @@ -107,7 +107,6 @@ "members": "Members", "members-title": "Add or remove members of the board from the card.", "menu": "Menu", - "modal-close-title": "Close this dialog window.", "multi-selection": "Multi-Selection", "my-boards": "My Boards", "name": "Name", |