mirror of
https://github.com/grocy/grocy.git
synced 2025-10-15 17:58:32 +00:00
Fixed edit shopping list item QU initialisation
This commit is contained in:
@@ -277,7 +277,11 @@ if (GetUriParam("embedded") !== undefined)
|
|||||||
{
|
{
|
||||||
if (GetUriParam("product") !== undefined || Grocy.EditMode == "edit")
|
if (GetUriParam("product") !== undefined || Grocy.EditMode == "edit")
|
||||||
{
|
{
|
||||||
Grocy.Components.ProductPicker.GetPicker().trigger('change');
|
if (GetUriParam("updateexistingproduct") != null)
|
||||||
|
{
|
||||||
|
Grocy.Components.ProductPicker.GetPicker().trigger('change');
|
||||||
|
}
|
||||||
|
|
||||||
$("#display_amount").focus();
|
$("#display_amount").focus();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user