diff options
author | Andrés Manelli <andresmanelli@gmail.com> | 2018-01-19 12:22:03 -0300 |
---|---|---|
committer | Andrés Manelli <andresmanelli@gmail.com> | 2018-01-19 12:22:03 -0300 |
commit | 690a5b970319ceabc0be965152187d7098022621 (patch) | |
tree | 1e86d3ef8a3523b981debc27e4fbe25ebcad8713 /client/components/cards | |
parent | 8b6a2eade3f1e8e05ee73568c8b69393d2b42827 (diff) | |
download | wekan-690a5b970319ceabc0be965152187d7098022621.tar.gz wekan-690a5b970319ceabc0be965152187d7098022621.tar.bz2 wekan-690a5b970319ceabc0be965152187d7098022621.zip |
First swimlane draft, no functionality
Diffstat (limited to 'client/components/cards')
-rw-r--r-- | client/components/cards/cardDetails.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index f4e6e773..94a938f0 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -20,8 +20,8 @@ BlazeComponent.extendComponent({ onCreated() { this.isLoaded = new ReactiveVar(false); - this.parentComponent().showOverlay.set(true); - this.parentComponent().mouseHasEnterCardDetails = false; + this.parentComponent().parentComponent().showOverlay.set(true); + this.parentComponent().parentComponent().mouseHasEnterCardDetails = false; this.calculateNextPeak(); Meteor.subscribe('unsaved-edits'); @@ -42,7 +42,7 @@ BlazeComponent.extendComponent({ scrollParentContainer() { const cardPanelWidth = 510; - const bodyBoardComponent = this.parentComponent(); + const bodyBoardComponent = this.parentComponent().parentComponent(); const $cardContainer = bodyBoardComponent.$('.js-lists'); const $cardView = this.$(this.firstNode()); @@ -69,7 +69,7 @@ BlazeComponent.extendComponent({ }, onDestroyed() { - this.parentComponent().showOverlay.set(false); + this.parentComponent().parentComponent().showOverlay.set(false); }, events() { @@ -104,8 +104,8 @@ BlazeComponent.extendComponent({ 'click .js-add-members': Popup.open('cardMembers'), 'click .js-add-labels': Popup.open('cardLabels'), 'mouseenter .js-card-details' () { - this.parentComponent().showOverlay.set(true); - this.parentComponent().mouseHasEnterCardDetails = true; + this.parentComponent().parentComponent().showOverlay.set(true); + this.parentComponent().parentComponent().mouseHasEnterCardDetails = true; }, 'click #toggleButton'() { Meteor.call('toggleSystemMessages'); |