Fix barcode scanner not working
This commit is contained in:
parent
13579451cf
commit
88332fad5a
@ -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");
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user