mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Fixed/optimized shopping list invalidation when removing table rows (fixes #2608)
This commit is contained in:
@@ -132,7 +132,7 @@ $(document).on('click', '.shoppinglist-delete-button', function(e)
|
||||
animateCSS("#shoppinglistitem-" + shoppingListItemId + "-row", "fadeOut", function()
|
||||
{
|
||||
Grocy.FrontendHelpers.EndUiBusy();
|
||||
$("#shoppinglistitem-" + shoppingListItemId + "-row").remove();
|
||||
$("#shoppinglistitem-" + shoppingListItemId + "-row").addClass("d-none").remove();
|
||||
OnListItemRemoved();
|
||||
});
|
||||
},
|
||||
|
Reference in New Issue
Block a user