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

@@ -346,7 +346,7 @@ if (Grocy.Components.ProductPicker !== undefined)
setTimeout(function()
{
$('#display_amount').focus();
}, 200);
}, 500);
Grocy.FrontendHelpers.ValidateForm('purchase-form');
if (GetUriParam("flow") === "shoppinglistitemtostock" && BoolVal(Grocy.UserSettings.shopping_list_to_stock_workflow_auto_submit_when_prefilled) && Grocy.FrontendHelpers.ValidateForm("purchase-form"))