Force popup closing when closing the detailed card pane

Fixes #283
This commit is contained in:
Maxime Quandalle 2015-09-04 16:30:33 +02:00
parent 521e661dcb
commit 6a92963e2a

View file

@ -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' });