Fix page reload for new recipes (URL = /recipe/new)

This commit is contained in:
Bernd Bestel 2019-12-21 12:34:29 +01:00
parent fbc563c92e
commit a457f469d0
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -343,7 +343,7 @@ $(window).on("message", function(e)
if (data.Message === "IngredientsChanged")
{
window.location.reload(true);
window.location.href = U('/recipe/' + Grocy.EditObjectId);
}
});