summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-09-04 16:30:33 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-09-04 16:30:33 +0200
commit6a92963e2a79e2819b7492a0389c1c48a9467ba3 (patch)
tree2fe436eb39bddf452d9cb6d1dbfdd48a84176aef
parent521e661dcb38b5a58b70593f3b805be57bd6746f (diff)
downloadwekan-6a92963e2a79e2819b7492a0389c1c48a9467ba3.tar.gz
wekan-6a92963e2a79e2819b7492a0389c1c48a9467ba3.tar.bz2
wekan-6a92963e2a79e2819b7492a0389c1c48a9467ba3.zip
Force popup closing when closing the detailed card pane
Fixes #283
-rw-r--r--client/config/router.js2
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' });