|
@@ -13,6 +13,7 @@ FlowRouter.route('/', {
|
|
|
Session.set('currentList', null);
|
|
|
Session.set('currentCard', null);
|
|
|
Session.set('popupCard', null);
|
|
|
+ Session.set('popupCardBoardId', null);
|
|
|
|
|
|
Filter.reset();
|
|
|
Session.set('sortBy', '');
|
|
@@ -36,6 +37,7 @@ FlowRouter.route('/public', {
|
|
|
Session.set('currentList', null);
|
|
|
Session.set('currentCard', null);
|
|
|
Session.set('popupCard', null);
|
|
|
+ Session.set('popupCardBoardId', null);
|
|
|
|
|
|
Filter.reset();
|
|
|
Session.set('sortBy', '');
|
|
@@ -59,6 +61,7 @@ FlowRouter.route('/b/:id/:slug', {
|
|
|
Session.set('currentBoard', currentBoard);
|
|
|
Session.set('currentCard', null);
|
|
|
Session.set('popupCard', null);
|
|
|
+ Session.set('popupCardBoardId', null);
|
|
|
|
|
|
// If we close a card, we'll execute again this route action but we don't
|
|
|
// want to excape every current actions (filters, etc.)
|
|
@@ -88,6 +91,7 @@ FlowRouter.route('/b/:boardId/:slug/:cardId', {
|
|
|
Session.set('currentBoard', params.boardId);
|
|
|
Session.set('currentCard', params.cardId);
|
|
|
Session.set('popupCard', null);
|
|
|
+ Session.set('popupCardBoardId', null);
|
|
|
|
|
|
Utils.manageCustomUI();
|
|
|
Utils.manageMatomo();
|
|
@@ -217,6 +221,7 @@ FlowRouter.route('/import/:source', {
|
|
|
Session.set('currentList', null);
|
|
|
Session.set('currentCard', null);
|
|
|
Session.set('popupCard', null);
|
|
|
+ Session.set('popupCardBoardId', null);
|
|
|
Session.set('importSource', params.source);
|
|
|
|
|
|
Filter.reset();
|
|
@@ -238,6 +243,7 @@ FlowRouter.route('/setting', {
|
|
|
Session.set('currentList', null);
|
|
|
Session.set('currentCard', null);
|
|
|
Session.set('popupCard', null);
|
|
|
+ Session.set('popupCardBoardId', null);
|
|
|
|
|
|
Filter.reset();
|
|
|
Session.set('sortBy', '');
|
|
@@ -262,6 +268,7 @@ FlowRouter.route('/information', {
|
|
|
Session.set('currentList', null);
|
|
|
Session.set('currentCard', null);
|
|
|
Session.set('popupCard', null);
|
|
|
+ Session.set('popupCardBoardId', null);
|
|
|
|
|
|
Filter.reset();
|
|
|
Session.set('sortBy', '');
|
|
@@ -285,6 +292,7 @@ FlowRouter.route('/people', {
|
|
|
Session.set('currentList', null);
|
|
|
Session.set('currentCard', null);
|
|
|
Session.set('popupCard', null);
|
|
|
+ Session.set('popupCardBoardId', null);
|
|
|
|
|
|
Filter.reset();
|
|
|
Session.set('sortBy', '');
|
|
@@ -308,6 +316,7 @@ FlowRouter.route('/admin-reports', {
|
|
|
Session.set('currentList', null);
|
|
|
Session.set('currentCard', null);
|
|
|
Session.set('popupCard', null);
|
|
|
+ Session.set('popupCardBoardId', null);
|
|
|
|
|
|
Filter.reset();
|
|
|
Session.set('sortBy', '');
|