summaryrefslogtreecommitdiffstats
path: root/client/components/lists
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-10-21 04:34:44 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-10-21 04:34:44 +0200
commitc6b12dc5ada1b37d759796fefe0dbc5b327f130c (patch)
tree7211ed841db0d7e6673c500bfd152d923f2f6888 /client/components/lists
parent9154b06fc39f5cd046e1ed17a822e67a593b46c7 (diff)
downloadwekan-c6b12dc5ada1b37d759796fefe0dbc5b327f130c.tar.gz
wekan-c6b12dc5ada1b37d759796fefe0dbc5b327f130c.tar.bz2
wekan-c6b12dc5ada1b37d759796fefe0dbc5b327f130c.zip
Upgrade peerlibrary:blaze-components to v0.14
This change includes method renames and others UI related packages updates.
Diffstat (limited to 'client/components/lists')
-rw-r--r--client/components/lists/list.js4
-rw-r--r--client/components/lists/listBody.js2
-rw-r--r--client/components/lists/listHeader.js2
3 files changed, 4 insertions, 4 deletions
diff --git a/client/components/lists/list.js b/client/components/lists/list.js
index af9bef98..75e816b5 100644
--- a/client/components/lists/list.js
+++ b/client/components/lists/list.js
@@ -7,7 +7,7 @@ BlazeComponent.extendComponent({
// Proxy
openForm(options) {
- this.componentChildren('listBody')[0].openForm(options);
+ this.childrenComponents('listBody')[0].openForm(options);
},
onCreated() {
@@ -25,7 +25,7 @@ BlazeComponent.extendComponent({
if (!Meteor.user() || !Meteor.user().isBoardMember())
return;
- const boardComponent = this.componentParent();
+ const boardComponent = this.parentComponent();
const itemsSelector = '.js-minicard:not(.placeholder, .js-card-composer)';
const $cards = this.$('.js-minicards');
$cards.sortable({
diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js
index 0b69b50a..88b31788 100644
--- a/client/components/lists/listBody.js
+++ b/client/components/lists/listBody.js
@@ -11,7 +11,7 @@ BlazeComponent.extendComponent({
options = options || {};
options.position = options.position || 'top';
- const forms = this.componentChildren('inlinedForm');
+ const forms = this.childrenComponents('inlinedForm');
let form = _.find(forms, (component) => {
return component.data().position === options.position;
});
diff --git a/client/components/lists/listHeader.js b/client/components/lists/listHeader.js
index 4f5fc3a0..b5df2c81 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.componentChildren('inlinedForm')[0].getValue();
+ const newTitle = this.childrenComponents('inlinedForm')[0].getValue();
const list = this.currentData();
if ($.trim(newTitle)) {
list.rename(newTitle);