mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2024-11-14 08:29:01 +01:00
Disabled search shortcut when in edit mode
This commit is contained in:
parent
34bf41228d
commit
9dec5ece43
@ -1506,9 +1506,13 @@ console.log("THE BROWSER IS OFFLINE");
|
||||
focusOnSearch: function (anEvent) {
|
||||
anEvent.preventDefault();
|
||||
|
||||
if (this.pages()[this.currentPage()].props['mode'] == 'edit') {
|
||||
// pass
|
||||
} else {
|
||||
MochiKit.Signal.signal(Clipperz.Signal.NotificationCenter, 'toggleSelectionPanel');
|
||||
MochiKit.DOM.getElement('searchValue').focus();
|
||||
MochiKit.DOM.getElement('searchValue').select();
|
||||
}
|
||||
},
|
||||
|
||||
exitSearch_handler: function (anEvent) {
|
||||
|
Loading…
Reference in New Issue
Block a user