mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Remove the internal meal plan recipe when removing a meal plan entry (fixes #298)
This commit is contained in:
@@ -103,7 +103,7 @@ $(document).on("click", ".remove-recipe-button", function(e)
|
||||
Grocy.Api.Delete('objects/meal_plan/' + mealPlanEntry.id.toString(), { },
|
||||
function(result)
|
||||
{
|
||||
calendar.fullCalendar('removeEvents', [mealPlanEntry.id]);
|
||||
window.location.reload();
|
||||
},
|
||||
function(xhr)
|
||||
{
|
||||
|
Reference in New Issue
Block a user