mirror of
https://github.com/grocy/grocy.git
synced 2025-10-02 02:28:26 +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("embedded") !== undefined)
|
||||||
{
|
{
|
||||||
if (GetUriParam("product") !== undefined)
|
if (GetUriParam("product") !== undefined || Grocy.EditMode == "edit")
|
||||||
{
|
{
|
||||||
Grocy.Components.ProductPicker.GetPicker().trigger('change');
|
Grocy.Components.ProductPicker.GetPicker().trigger('change');
|
||||||
$("#display_amount").focus();
|
$("#display_amount").focus();
|
||||||
|
Reference in New Issue
Block a user