mirror of
https://github.com/grocy/grocy.git
synced 2025-04-30 10:05:45 +00:00
Fix location edit form (edit did not work)
This commit is contained in:
parent
43c9ab7734
commit
c042657dd8
@ -21,7 +21,7 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Grocy.Api.Post('edit-object/locations/' + Grocy.EditObjectId, $('#location-form').serializeJSON(),
|
Grocy.Api.Post('edit-object/locations/' + Grocy.EditObjectId, jsonData,
|
||||||
function(result)
|
function(result)
|
||||||
{
|
{
|
||||||
window.location.href = U('/locations');
|
window.location.href = U('/locations');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user