Added more product actions on the stock overview page (closes #327)

This commit is contained in:
Bernd Bestel
2019-09-20 13:37:53 +02:00
parent ca9b8d068a
commit a95d6be4f4
20 changed files with 557 additions and 238 deletions

View File

@@ -66,6 +66,10 @@ Grocy.Components.BarcodeScanner.StartScanning = function()
if (error)
{
Grocy.FrontendHelpers.ShowGenericError("Error while initializing the barcode scanning library", error.message);
setTimeout(function()
{
bootbox.hideAll();
}, 500);
return;
}
Quagga.start();
@@ -136,8 +140,7 @@ $(document).on("click", "#barcodescanner-start-button", function(e)
{
Grocy.Components.BarcodeScanner.StopScanning();
}
},
}
}
});