UI test/review

This commit is contained in:
Bernd Bestel
2020-11-08 15:09:10 +01:00
parent 7d237867b5
commit d82fd09fba
80 changed files with 233 additions and 226 deletions

View File

@@ -17,7 +17,14 @@
Grocy.EditObjectId = result.created_object_id;
Grocy.Components.UserfieldsForm.Save(function()
{
window.location.href = U('/tasks');
if (GetUriParam("embedded") !== undefined)
{
window.parent.postMessage(WindowMessageBag("Reload"), Grocy.BaseUrl);
}
else
{
window.location.href = U('/tasks');
}
});
},
function(xhr)
@@ -34,7 +41,14 @@
{
Grocy.Components.UserfieldsForm.Save(function()
{
window.location.href = U('/tasks');
if (GetUriParam("embedded") !== undefined)
{
window.parent.postMessage(WindowMessageBag("Reload"), Grocy.BaseUrl);
}
else
{
window.location.href = U('/tasks');
}
});
},
function(xhr)