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

@@ -124,14 +124,14 @@ if (!Grocy.Components.ProductPicker.InAnyFlow())
setTimeout(function()
{
$("#display_amount").focus();
}, 200);
}, 500);
}
else
{
setTimeout(function()
{
Grocy.Components.ProductPicker.GetInputElement().focus();
}, 200);
}, 500);
}
}
else
@@ -143,7 +143,7 @@ else
setTimeout(function()
{
Grocy.Components.ProductPicker.GetInputElement().focus();
}, 200);
}, 500);
}
}