mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
New logo
This commit is contained in:
@@ -154,7 +154,7 @@ $('#battery_id_text_input').on('blur', function(e)
|
||||
var input = $('#battery_id_text_input').val().toString();
|
||||
var possibleOptionElement = [];
|
||||
|
||||
// grocycode handling
|
||||
// Grocycode handling
|
||||
if (input.startsWith("grcy"))
|
||||
{
|
||||
var gc = input.split(":");
|
||||
|
@@ -190,7 +190,7 @@ $('#chore_id_text_input').on('blur', function(e)
|
||||
var input = $('#chore_id_text_input').val().toString();
|
||||
var possibleOptionElement = [];
|
||||
|
||||
// grocycode handling
|
||||
// Grocycode handling
|
||||
if (input.startsWith("grcy"))
|
||||
{
|
||||
var gc = input.split(":");
|
||||
|
@@ -120,7 +120,7 @@ Grocy.Components.BarcodeScanner.StartScanning = function()
|
||||
if (error)
|
||||
{
|
||||
Grocy.FrontendHelpers.ShowGenericError("Error while initializing the barcode scanning library", error.message);
|
||||
toastr.info(__t("Camera access is only possible when supported and allowed by your browser and when grocy is served via a secure (https://) connection"));
|
||||
toastr.info(__t("Camera access is only possible when supported and allowed by your browser and when Grocy is served via a secure (https://) connection"));
|
||||
window.localStorage.removeItem("cameraId");
|
||||
setTimeout(function()
|
||||
{
|
||||
|
@@ -162,7 +162,7 @@ $('#product_id_text_input').on('blur', function(e)
|
||||
var input = $('#product_id_text_input').val().toString();
|
||||
var possibleOptionElement = [];
|
||||
|
||||
// grocycode handling
|
||||
// Grocycode handling
|
||||
if (input.startsWith("grcy"))
|
||||
{
|
||||
var gc = input.split(":");
|
||||
|
@@ -77,7 +77,7 @@ $('#recipe_id_text_input').on('blur', function(e)
|
||||
var input = $('#recipe_id_text_input').val().toString();
|
||||
var possibleOptionElement = [];
|
||||
|
||||
// grocycode handling
|
||||
// Grocycode handling
|
||||
if (input.startsWith("grcy"))
|
||||
{
|
||||
var gc = input.split(":");
|
||||
|
@@ -239,7 +239,7 @@ $("#location_id").on('change', function(e)
|
||||
}
|
||||
else
|
||||
{
|
||||
// try to get stock id from grocycode
|
||||
// try to get stock id from Grocycode
|
||||
if ($("#product_id").data("grocycode"))
|
||||
{
|
||||
var gc = $("#product_id").attr("barcode").split(":");
|
||||
|
Reference in New Issue
Block a user