mirror of
https://github.com/grocy/grocy.git
synced 2026-04-04 03:46:16 +02:00
Remove "debug" JS output
This commit is contained in:
parent
306d0f7da6
commit
dd48be595c
|
|
@ -108,7 +108,6 @@ Grocy.Components.ProductPicker.GetPicker().on('change', function(e)
|
||||||
Grocy.FrontendHelpers.ValidateForm('purchase-form');
|
Grocy.FrontendHelpers.ValidateForm('purchase-form');
|
||||||
if (GetUriParam("flow") === "shoppinglistitemtostock" && BoolVal(Grocy.UserSettings.shopping_list_to_stock_workflow_auto_submit_when_prefilled) && document.getElementById("purchase-form").checkValidity() === true)
|
if (GetUriParam("flow") === "shoppinglistitemtostock" && BoolVal(Grocy.UserSettings.shopping_list_to_stock_workflow_auto_submit_when_prefilled) && document.getElementById("purchase-form").checkValidity() === true)
|
||||||
{
|
{
|
||||||
console.log("hey");
|
|
||||||
$("#save-purchase-button").click();
|
$("#save-purchase-button").click();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user