mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
More modal iframe dialog handling improvements
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user