mirror of
https://github.com/grocy/grocy.git
synced 2025-04-30 01:55:47 +00:00
Fixed shopping list to stock worfklow skip button (fixes #1248)
This commit is contained in:
parent
bd21e3a8d6
commit
97fdb0553c
@ -297,7 +297,7 @@ $(window).on("message", function(e)
|
|||||||
Grocy.ShoppingListToStockWorkflowCurrent++;
|
Grocy.ShoppingListToStockWorkflowCurrent++;
|
||||||
if (Grocy.ShoppingListToStockWorkflowCurrent <= Grocy.ShoppingListToStockWorkflowCount)
|
if (Grocy.ShoppingListToStockWorkflowCurrent <= Grocy.ShoppingListToStockWorkflowCount)
|
||||||
{
|
{
|
||||||
$(".shopping-list-stock-add-workflow-list-item-button")[1].click();
|
$(".shopping-list-stock-add-workflow-list-item-button")[Grocy.ShoppingListToStockWorkflowCurrent - 1].click();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user