summaryrefslogtreecommitdiffstats
path: root/client/components/cards/cardDetails.js
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-09-10 19:25:15 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-09-10 19:25:15 +0200
commit0f014c954c587ae2c215689b4b70f626010f7cb8 (patch)
tree7a6e733d5ac2e9006744ba8cf708cd2bbed35767 /client/components/cards/cardDetails.js
parentd01ffae999a4d6ec3cbd513347a06edf73f06427 (diff)
parent8cb45770647fd76fe03db94107eac09491ceee76 (diff)
downloadwekan-0f014c954c587ae2c215689b4b70f626010f7cb8.tar.gz
wekan-0f014c954c587ae2c215689b4b70f626010f7cb8.tar.bz2
wekan-0f014c954c587ae2c215689b4b70f626010f7cb8.zip
Merge branch 'master' into devel
Diffstat (limited to 'client/components/cards/cardDetails.js')
-rw-r--r--client/components/cards/cardDetails.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js
index a493d938..6ea6e777 100644
--- a/client/components/cards/cardDetails.js
+++ b/client/components/cards/cardDetails.js
@@ -96,6 +96,9 @@ BlazeComponent.extendComponent({
_getUnsavedEditKey() {
return {
fieldName: 'cardDescription',
+ // XXX Recovering the currentCard identifier form a session variable is
+ // fragile because this variable may change for instance if the route
+ // change. We should use some component props instead.
docId: Session.get('currentCard'),
};
}