forked from DGNum/gestioCOF
invert F2 and Shift+F2
This commit is contained in:
parent
f5ebe3f166
commit
e725a10026
1 changed files with 5 additions and 5 deletions
|
@ -1250,13 +1250,13 @@ $(document).ready(function() {
|
||||||
return false;
|
return false;
|
||||||
case 113:
|
case 113:
|
||||||
if (e.shiftKey) {
|
if (e.shiftKey) {
|
||||||
// Shift+F2 - Basket reset
|
// Shift+F2 - Account reset
|
||||||
resetBasket();
|
|
||||||
articleSelect.focus();
|
|
||||||
} else {
|
|
||||||
// F2 - Account reset
|
|
||||||
resetAccount();
|
resetAccount();
|
||||||
triInput.focus();
|
triInput.focus();
|
||||||
|
} else {
|
||||||
|
// F2 - Basket reset
|
||||||
|
resetBasket();
|
||||||
|
articleSelect.focus();
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
case 114:
|
case 114:
|
||||||
|
|
Loading…
Reference in a new issue