Fixed the "Shopping list to stock workflow" with disabled FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING (fixes #537)

This commit is contained in:
Bernd Bestel
2020-02-02 13:01:31 +01:00
parent 5effa0c103
commit 890663bf63
13 changed files with 23 additions and 18 deletions

View File

@@ -95,7 +95,7 @@ $(document).on('click', '.shoppinglist-delete-button', function(e)
var shoppingListItemId = $(e.currentTarget).attr('data-shoppinglist-id');
Grocy.FrontendHelpers.BeginUiBusy();
Grocy.Api.Delete('objects/shopping_list/' + shoppingListItemId, {},
Grocy.Api.Delete('objects/shopping_list/' + shoppingListItemId, { },
function(result)
{
animateCSS("#shoppinglistitem-" + shoppingListItemId + "-row", "fadeOut", function()