diff --git a/frontend/delta/js/Clipperz/PM/UI/MainController.js b/frontend/delta/js/Clipperz/PM/UI/MainController.js index 8315804..f698c23 100644 --- a/frontend/delta/js/Clipperz/PM/UI/MainController.js +++ b/frontend/delta/js/Clipperz/PM/UI/MainController.js @@ -1587,6 +1587,8 @@ console.log("THE BROWSER IS OFFLINE"); exitCurrentSelection: function () { if (this.currentPage() == 'cardDetailPage') { MochiKit.Signal.signal(Clipperz.Signal.NotificationCenter, 'goBackToMainPage', {'reference':this.selectedCardInfo()['reference']}); + } else if (this.currentPage() == 'mainPage') { + MochiKit.Signal.signal(Clipperz.Signal.NotificationCenter, 'selectCard', null, true); } },