mirror of
https://github.com/grocy/grocy.git
synced 2025-10-22 20:46:33 +00:00
Add a "shopping list item to stock flow" (references #98)
This commit is contained in:
@@ -126,3 +126,9 @@ $(document).on('click', '#clear-shopping-list', function(e)
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
if (GetUriParam("flow") === "shoppinglistitemtostock")
|
||||
{
|
||||
var listItem = GetUriParam("listitemid");
|
||||
$(".shoppinglist-delete-button[data-shoppinglist-id='" + listItem + "']").click();
|
||||
}
|
||||
|
Reference in New Issue
Block a user