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:
Aurélien Delobelle 2016-12-09 16:55:33 +01:00
commit 222e614648

View file

@ -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: