K-Psul - Focus sur input trigramme ou articleselect après choix caisse

This commit is contained in:
Aurélien Delobelle 2016-09-04 17:07:44 +02:00
parent 9e7b6cccf5
commit d86873e620

View file

@ -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();
}
});
// -----