summaryrefslogtreecommitdiffstats
path: root/client/lib
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-12-08 16:18:44 -0500
committerMaxime Quandalle <maxime@quandalle.com>2016-01-31 20:03:12 +0100
commita13fad749e8a75025bb13de87f0170e1ea9e462d (patch)
tree81ef2f15cb540dfdd7efb81571e213d995f7b666 /client/lib
parent67e7b6a139280cab1e1bccb94c684c56eb69985c (diff)
downloadwekan-a13fad749e8a75025bb13de87f0170e1ea9e462d.tar.gz
wekan-a13fad749e8a75025bb13de87f0170e1ea9e462d.tar.bz2
wekan-a13fad749e8a75025bb13de87f0170e1ea9e462d.zip
Change the board import layout from a popup to a full page
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.
Diffstat (limited to 'client/lib')
-rw-r--r--client/lib/popup.js5
1 files changed, 5 insertions, 0 deletions
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];