More modal iframe dialog handling improvements

This commit is contained in:
Bernd Bestel
2025-01-11 15:41:04 +01:00
parent 2c0b1a7be0
commit a2c2049037
50 changed files with 60 additions and 60 deletions

View File

@@ -36,7 +36,7 @@ setTimeout(function()
{
$("#barcodescanner-start-button").attr("disabled", "");
$("#barcodescanner-start-button").addClass("disabled");
}, 200);
}, 500);
if (GetUriParam("barcode") !== undefined)
{
@@ -45,7 +45,7 @@ if (GetUriParam("barcode") !== undefined)
{
$("#expected_barcode").keyup();
$("#scanned_barcode").focus();
}, 200);
}, 500);
}
function OnBarcodeScanned(barcode)
@@ -82,7 +82,7 @@ function OnBarcodeScanned(barcode)
{
$("#scanned_barcode").focus();
}
}, 200);
}, 500);
}
$(document).on("Grocy.BarcodeScanned", function(e, barcode, target)