mirror of
https://github.com/wekan/wekan.git
synced 2025-12-23 02:40:14 +01:00
Fix the draft saving feature on card switching
This commit is contained in:
parent
6dbd6d0010
commit
cad7741b54
3 changed files with 6 additions and 2 deletions
|
|
@ -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' });
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue