1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2024-11-13 07:49:01 +01:00

Hide current selected card (in *wide view) hitting ‘esc’

This commit is contained in:
Giulio Cesare Solaroli 2015-03-03 23:29:37 +01:00
parent bd95252c80
commit e47cc7f617

View File

@ -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);
}
},