summaryrefslogtreecommitdiffstats
path: root/client/components/cards/cardDetails.js
diff options
context:
space:
mode:
authorPouyan Savoli <papoola@hotmail.com>2017-09-05 02:34:18 +0200
committerPouyan Savoli <papoola@hotmail.com>2017-09-22 22:59:32 +0200
commit6ff89b43b61ace7ea26d50f091ea6b714fa79c84 (patch)
tree362c1bc771df9d20ab756cd4d8f26cf9f2d10246 /client/components/cards/cardDetails.js
parent733b14dcd8f4b94047ffd444e7ab7ded49c245c0 (diff)
downloadwekan-6ff89b43b61ace7ea26d50f091ea6b714fa79c84.tar.gz
wekan-6ff89b43b61ace7ea26d50f091ea6b714fa79c84.tar.bz2
wekan-6ff89b43b61ace7ea26d50f091ea6b714fa79c84.zip
show custom fields on cards but still with dummy value
Diffstat (limited to 'client/components/cards/cardDetails.js')
-rw-r--r--client/components/cards/cardDetails.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js
index 1cc39492..8d5c478d 100644
--- a/client/components/cards/cardDetails.js
+++ b/client/components/cards/cardDetails.js
@@ -197,20 +197,6 @@ Template.editCardTitleForm.events({
},
});
-Template.cardCustomFieldsPopup.events({
- 'click .js-select-field'(evt) {
- const card = Cards.findOne(Session.get('currentCard'));
- const customFieldId = this._id;
- card.toggleCustomField(customFieldId);
- evt.preventDefault();
- },
- 'click .js-configure-custom-fields'(evt) {
- EscapeActions.executeUpTo('detailsPane');
- Sidebar.setView('customFields');
- evt.preventDefault();
- }
-});
-
Template.moveCardPopup.events({
'click .js-select-list' () {
// XXX We should *not* get the currentCard from the global state, but