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