forked from DGNum/gestioCOF
Search shortcut
This commit is contained in:
parent
016989c4de
commit
832dc0ce10
1 changed files with 8 additions and 0 deletions
|
@ -299,6 +299,14 @@ $(document).ready(function() {
|
||||||
searchAccount() ;
|
searchAccount() ;
|
||||||
}) ;
|
}) ;
|
||||||
|
|
||||||
|
account_container.on('keydown', function(e) {
|
||||||
|
if (e.which == 70 && e.ctrlKey) {
|
||||||
|
// Ctrl + F : universal search shortcut
|
||||||
|
searchAccount() ;
|
||||||
|
e.preventDefault() ;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// Clear data
|
// Clear data
|
||||||
function resetAccountData() {
|
function resetAccountData() {
|
||||||
account_data = account_data_default;
|
account_data = account_data_default;
|
||||||
|
|
Loading…
Reference in a new issue