diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-05-23 22:23:27 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-05-23 22:23:27 +0200 |
commit | 40b605f7d897db6eb2697be1748741221378e71c (patch) | |
tree | 43377344c6a2b1f25746d0567a39fb1446a6a91a /client/components/lists/body.js | |
parent | 9c2a3213eb47956aaf116209d070ccac5dcddca6 (diff) | |
download | wekan-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.js | 8 |
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 |