mirror of
https://github.com/grocy/grocy.git
synced 2025-08-18 03:25:50 +00:00
Fixed shopping list item form initial input field focus
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user