Fix location edit form (edit did not work)

This commit is contained in:
Bernd Bestel 2019-01-05 20:38:27 +01:00
parent 43c9ab7734
commit c042657dd8
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -21,7 +21,7 @@
}
else
{
Grocy.Api.Post('edit-object/locations/' + Grocy.EditObjectId, $('#location-form').serializeJSON(),
Grocy.Api.Post('edit-object/locations/' + Grocy.EditObjectId, jsonData,
function(result)
{
window.location.href = U('/locations');