diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-09-04 16:30:33 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-09-04 16:30:33 +0200 |
commit | 6a92963e2a79e2819b7492a0389c1c48a9467ba3 (patch) | |
tree | 2fe436eb39bddf452d9cb6d1dbfdd48a84176aef /client | |
parent | 521e661dcb38b5a58b70593f3b805be57bd6746f (diff) | |
download | wekan-6a92963e2a79e2819b7492a0389c1c48a9467ba3.tar.gz wekan-6a92963e2a79e2819b7492a0389c1c48a9467ba3.tar.bz2 wekan-6a92963e2a79e2819b7492a0389c1c48a9467ba3.zip |
Force popup closing when closing the detailed card pane
Fixes #283
Diffstat (limited to 'client')
-rw-r--r-- | client/config/router.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/config/router.js b/client/config/router.js index 5260e03f..76d7b3ad 100644 --- a/client/config/router.js +++ b/client/config/router.js @@ -29,6 +29,8 @@ FlowRouter.route('/b/:id/:slug', { // want to excape every current actions (filters, etc.) if (previousBoard !== currentBoard) { EscapeActions.executeAll(); + } else { + EscapeActions.executeUpTo('popup-close'); } BlazeLayout.render('defaultLayout', { content: 'board' }); |