forked from DGNum/gestioCOF
Merge branch 'Aufinal/F2_invert' into 'k-fet'
K-Psul Inverse les raccourcis clavier entre le reset du compte (Shift+F2) et du panier (F2) pour plus d'ergonomie Fix #112 See merge request !129
This commit is contained in:
commit
222e614648
1 changed files with 7 additions and 7 deletions
|
@ -48,11 +48,11 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-3"><b>F2</b></div>
|
||||
<div class="col-xs-9">Reset compte</div>
|
||||
<div class="col-xs-9">Reset panier</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-3"><b>Shift + F2</b></div>
|
||||
<div class="col-xs-9">Reset panier</div>
|
||||
<div class="col-xs-9">Reset compte</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-3"><b>F9</b></div>
|
||||
|
@ -1250,13 +1250,13 @@ $(document).ready(function() {
|
|||
return false;
|
||||
case 113:
|
||||
if (e.shiftKey) {
|
||||
// Shift+F2 - Basket reset
|
||||
resetBasket();
|
||||
articleSelect.focus();
|
||||
} else {
|
||||
// F2 - Account reset
|
||||
// Shift+F2 - Account reset
|
||||
resetAccount();
|
||||
triInput.focus();
|
||||
} else {
|
||||
// F2 - Basket reset
|
||||
resetBasket();
|
||||
articleSelect.focus();
|
||||
}
|
||||
return false;
|
||||
case 114:
|
||||
|
|
Loading…
Reference in a new issue