Преглед на файлове

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