make select2 focus to earn time during scanning

This commit is contained in:
atm-quentin 2019-02-20 17:09:54 +01:00
parent 394659f84a
commit f1055d0e5c
2 changed files with 15 additions and 0 deletions

View File

@ -2769,6 +2769,14 @@ elseif (! empty($object->id))
}
}
?>
<script type="text/javascript">
$(document).ready(function(){
$('#idprodfournprice').select2('focus');
});
</script>
<?php
// End of page
llxFooter();
$db->close();

View File

@ -3234,6 +3234,13 @@ else
}
}
?>
<script type="text/javascript">
$(document).ready(function(){
$('#idprodfournprice').select2('focus');
});
</script>
<?php
// End of page
llxFooter();
$db->close();