mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Reload recipe page after add/edit an ingredient (fixes #803)
This commit is contained in:
parent
2c151fb4de
commit
4d38614671
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user