mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 19:16:37 +00:00
Fixed purchase/inventory embedded mode initial input focus handling
This commit is contained in:
@@ -325,7 +325,7 @@ Grocy.FrontendHelpers.ValidateForm('purchase-form');
|
||||
|
||||
if (Grocy.Components.ProductPicker)
|
||||
{
|
||||
if (Grocy.Components.ProductPicker.InAnyFlow() === false)
|
||||
if (Grocy.Components.ProductPicker.InAnyFlow() === false && GetUriParam("embedded") === undefined)
|
||||
{
|
||||
Grocy.Components.ProductPicker.GetInputElement().focus();
|
||||
}
|
||||
|
Reference in New Issue
Block a user