mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Fixed shopping list item form initial input field focus
This commit is contained in:
parent
cab34df2d6
commit
cefc1b7b9c
@ -275,7 +275,7 @@ if (GetUriParam("amount") !== undefined)
|
||||
|
||||
if (GetUriParam("embedded") !== undefined)
|
||||
{
|
||||
if (GetUriParam("product") !== undefined)
|
||||
if (GetUriParam("product") !== undefined || Grocy.EditMode == "edit")
|
||||
{
|
||||
Grocy.Components.ProductPicker.GetPicker().trigger('change');
|
||||
$("#display_amount").focus();
|
||||
|
Loading…
x
Reference in New Issue
Block a user