Fix barcode scanner not working

This commit is contained in:
Skylar Ittner 2020-10-22 09:13:55 -06:00
parent 13579451cf
commit 88332fad5a

View File

@ -18,7 +18,7 @@ $("#clientsearchbar").submit(function (evt) {
function scanBarcodeOpenMachine() { function scanBarcodeOpenMachine() {
scanBarcode(function (code) { scanBarcode(function (code) {
openMachineInfo(code); router.navigate("/machine/" + code);
}, function (error) { }, function (error) {
app.dialog.alert(error, "Error"); app.dialog.alert(error, "Error");
}); });