summaryrefslogtreecommitdiffstats
path: root/client/config
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-09-10 19:11:19 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-09-10 19:11:19 +0200
commitcad7741b54abb405334e12cc63c718c233d69b59 (patch)
tree07ea9ee06ab23d3fe91db88b042d389a76326dee /client/config
parent6dbd6d0010dfad781958d482659674113603b851 (diff)
downloadwekan-cad7741b54abb405334e12cc63c718c233d69b59.tar.gz
wekan-cad7741b54abb405334e12cc63c718c233d69b59.tar.bz2
wekan-cad7741b54abb405334e12cc63c718c233d69b59.zip
Fix the draft saving feature on card switching
Diffstat (limited to 'client/config')
-rw-r--r--client/config/router.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/config/router.js b/client/config/router.js
index 76d7b3ad..1cac43a0 100644
--- a/client/config/router.js
+++ b/client/config/router.js
@@ -40,11 +40,11 @@ FlowRouter.route('/b/:id/:slug', {
FlowRouter.route('/b/:boardId/:slug/:cardId', {
name: 'card',
action(params) {
+ EscapeActions.executeUpTo('inlinedForm');
+
Session.set('currentBoard', params.boardId);
Session.set('currentCard', params.cardId);
- EscapeActions.executeUpTo('inlinedForm');
-
BlazeLayout.render('defaultLayout', { content: 'board' });
},
});