diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-10-21 04:34:44 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-10-21 04:34:44 +0200 |
commit | c6b12dc5ada1b37d759796fefe0dbc5b327f130c (patch) | |
tree | 7211ed841db0d7e6673c500bfd152d923f2f6888 /client/components/cards | |
parent | 9154b06fc39f5cd046e1ed17a822e67a593b46c7 (diff) | |
download | wekan-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/cards')
-rw-r--r-- | client/components/cards/cardDetails.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index 58ce28e4..5e07abab 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -13,19 +13,19 @@ BlazeComponent.extendComponent({ }, reachNextPeak() { - const activitiesComponent = this.componentChildren('activities')[0]; + const activitiesComponent = this.childrenComponents('activities')[0]; activitiesComponent.loadNextPage(); }, onCreated() { this.isLoaded = new ReactiveVar(false); - this.componentParent().showOverlay.set(true); - this.componentParent().mouseHasEnterCardDetails = false; + this.parentComponent().showOverlay.set(true); + this.parentComponent().mouseHasEnterCardDetails = false; }, scrollParentContainer() { const cardPanelWidth = 510; - const bodyBoardComponent = this.componentParent(); + const bodyBoardComponent = this.parentComponent(); const $cardContainer = bodyBoardComponent.$('.js-lists'); const $cardView = this.$(this.firstNode()); @@ -52,7 +52,7 @@ BlazeComponent.extendComponent({ }, onDestroyed() { - this.componentParent().showOverlay.set(false); + this.parentComponent().showOverlay.set(false); }, events() { @@ -83,8 +83,8 @@ BlazeComponent.extendComponent({ 'click .js-add-members': Popup.open('cardMembers'), 'click .js-add-labels': Popup.open('cardLabels'), 'mouseenter .js-card-details'() { - this.componentParent().showOverlay.set(true); - this.componentParent().mouseHasEnterCardDetails = true; + this.parentComponent().showOverlay.set(true); + this.parentComponent().mouseHasEnterCardDetails = true; }, })]; }, |