summaryrefslogtreecommitdiffstats
path: root/client/components/lists/listHeader.js
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-10-31 09:26:55 -0700
committerMaxime Quandalle <maxime@quandalle.com>2015-11-08 23:17:24 -0800
commit5d77ad4f6ba70038486d734e97844c547e664e88 (patch)
treeaa4a0dd855b98ff94ac10fb7b2add3f7e1627dfd /client/components/lists/listHeader.js
parent2b134ff7a986eb97f8ec360321be284a7a8ea11e (diff)
downloadwekan-5d77ad4f6ba70038486d734e97844c547e664e88.tar.gz
wekan-5d77ad4f6ba70038486d734e97844c547e664e88.tar.bz2
wekan-5d77ad4f6ba70038486d734e97844c547e664e88.zip
Finish the minicard editor auto-completion feature
This commit stands on the initial support implemented in #342. We now avoid error-prone parsing step by adding the member or the label directly to the card object. We also added support for `Tab` to completion on our textComplete component. Closes #342
Diffstat (limited to 'client/components/lists/listHeader.js')
-rw-r--r--client/components/lists/listHeader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/lists/listHeader.js b/client/components/lists/listHeader.js
index dbf9fced..d660508a 100644
--- a/client/components/lists/listHeader.js
+++ b/client/components/lists/listHeader.js
@@ -5,7 +5,7 @@ BlazeComponent.extendComponent({
editTitle(evt) {
evt.preventDefault();
- const newTitle = this.childrenComponents('inlinedForm')[0].getValue().trim();
+ const newTitle = this.childComponents('inlinedForm')[0].getValue().trim();
const list = this.currentData();
if (newTitle) {
list.rename(newTitle.trim());