From 6a92963e2a79e2819b7492a0389c1c48a9467ba3 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Fri, 4 Sep 2015 16:30:33 +0200 Subject: Force popup closing when closing the detailed card pane Fixes #283 --- client/config/router.js | 2 ++ 1 file changed, 2 insertions(+) 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' }); -- cgit v1.2.3-1-g7c22