mirror of
https://github.com/grocy/grocy.git
synced 2026-04-04 20:06:16 +02:00
Fixed edit shopping list item QU initialisation
This commit is contained in:
parent
3b8944d61b
commit
3d3e4bac75
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user