From e47cc7f6179922e7b09f9eb800e5184d7aa451a0 Mon Sep 17 00:00:00 2001 From: Giulio Cesare Solaroli Date: Tue, 3 Mar 2015 23:29:37 +0100 Subject: [PATCH] =?UTF-8?q?Hide=20current=20selected=20card=20(in=20*wide?= =?UTF-8?q?=20view)=20hitting=20=E2=80=98esc=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/delta/js/Clipperz/PM/UI/MainController.js | 2 ++ 1 file changed, 2 insertions(+) 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); } },