mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2024-11-14 18:29:02 +01:00
Hide current selected card (in *wide view) hitting ‘esc’
This commit is contained in:
parent
bd95252c80
commit
e47cc7f617
@ -1587,6 +1587,8 @@ console.log("THE BROWSER IS OFFLINE");
|
|||||||
exitCurrentSelection: function () {
|
exitCurrentSelection: function () {
|
||||||
if (this.currentPage() == 'cardDetailPage') {
|
if (this.currentPage() == 'cardDetailPage') {
|
||||||
MochiKit.Signal.signal(Clipperz.Signal.NotificationCenter, 'goBackToMainPage', {'reference':this.selectedCardInfo()['reference']});
|
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);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user