summaryrefslogtreecommitdiffstats
path: root/client/components/lists/body.js
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-05-23 22:23:27 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-05-23 22:23:27 +0200
commit40b605f7d897db6eb2697be1748741221378e71c (patch)
tree43377344c6a2b1f25746d0567a39fb1446a6a91a /client/components/lists/body.js
parent9c2a3213eb47956aaf116209d070ccac5dcddca6 (diff)
downloadwekan-40b605f7d897db6eb2697be1748741221378e71c.tar.gz
wekan-40b605f7d897db6eb2697be1748741221378e71c.tar.bz2
wekan-40b605f7d897db6eb2697be1748741221378e71c.zip
Hide the card composer link while a card is being dragged
Diffstat (limited to 'client/components/lists/body.js')
-rw-r--r--client/components/lists/body.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/client/components/lists/body.js b/client/components/lists/body.js
index 1cbcf8f2..70db42d1 100644
--- a/client/components/lists/body.js
+++ b/client/components/lists/body.js
@@ -58,6 +58,14 @@ BlazeComponent.extendComponent({
}
},
+ showNewCardForm: function(value) {
+ this.newCardFormIsVisible.set(value);
+ },
+
+ onCreated: function() {
+ this.newCardFormIsVisible = new ReactiveVar(true);
+ },
+
events: function() {
return [{
submit: this.addCard