Reload recipe page after add/edit an ingredient (fixes #803)

This commit is contained in:
Bernd Bestel 2020-08-24 18:02:46 +02:00
parent 2c151fb4de
commit 4d38614671
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -366,7 +366,7 @@ $(window).on("message", function(e)
Grocy.Api.Put('objects/recipes/' + Grocy.EditObjectId, $('#recipe-form').serializeJSON(),
function(result)
{
// window.location.href = U('/recipe/' + Grocy.EditObjectId);
window.location.href = U('/recipe/' + Grocy.EditObjectId);
},
function(xhr)
{