diff --git a/static/js/barcode.js b/static/js/barcode.js index 18e9403..8622de2 100644 --- a/static/js/barcode.js +++ b/static/js/barcode.js @@ -17,6 +17,10 @@ function hideBarcode() { function barcodeKeyPress(event) { var key = String.fromCharCode(event.charCode) + var input = document.getElementById('crement') + if ( input ) { + input.focus() + } var focused = document.activeElement if (! focused || focused == document.body) { focused = null