瀏覽代碼

Force popup closing when closing the detailed card pane

Fixes #283
Maxime Quandalle 10 年之前
父節點
當前提交
6a92963e2a
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      client/config/router.js

+ 2 - 0
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' });