mirror of
https://github.com/grocy/grocy.git
synced 2026-04-06 21:06:15 +02:00
Fix page reload for new recipes (URL = /recipe/new)
This commit is contained in:
parent
fbc563c92e
commit
a457f469d0
|
|
@ -343,7 +343,7 @@ $(window).on("message", function(e)
|
||||||
|
|
||||||
if (data.Message === "IngredientsChanged")
|
if (data.Message === "IngredientsChanged")
|
||||||
{
|
{
|
||||||
window.location.reload(true);
|
window.location.href = U('/recipe/' + Grocy.EditObjectId);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user