mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Fix location edit form (edit did not work)
This commit is contained in:
parent
43c9ab7734
commit
c042657dd8
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user