From a13fad749e8a75025bb13de87f0170e1ea9e462d Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Tue, 8 Dec 2015 16:18:44 -0500 Subject: Change the board import layout from a popup to a full page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit also removes the “import a single Trello card” as we couldn’t figure out some reasonable use case. We also create a new publication on the server to provide the minimal user profile informations required to display an avatar. --- client/lib/popup.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'client/lib') diff --git a/client/lib/popup.js b/client/lib/popup.js index 797eb26d..7cceaa4f 100644 --- a/client/lib/popup.js +++ b/client/lib/popup.js @@ -142,6 +142,11 @@ window.Popup = new class { } } + getOpenerComponent() { + const { openerElement } = Template.parentData(4); + return BlazeComponent.getComponentForElement(openerElement); + } + // An utility fonction that returns the top element of the internal stack _getTopStack() { return this._stack[this._stack.length - 1]; -- cgit v1.2.3-1-g7c22