forked from DGNum/gestioCOF
K-Psul - Focus sur input trigramme ou articleselect après choix caisse
This commit is contained in:
parent
9e7b6cccf5
commit
d86873e620
|
@ -336,6 +336,11 @@ $(document).ready(function() {
|
||||||
// Event listener
|
// Event listener
|
||||||
checkoutInput.on('change', function() {
|
checkoutInput.on('change', function() {
|
||||||
retrieveCheckoutData(checkoutInput.val());
|
retrieveCheckoutData(checkoutInput.val());
|
||||||
|
if (account_data['trigramme']) {
|
||||||
|
articleSelect.focus().select();
|
||||||
|
} else {
|
||||||
|
triInput.focus().select();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// -----
|
// -----
|
||||||
|
|
Loading…
Reference in a new issue