mirror of
https://github.com/grocy/grocy.git
synced 2026-04-04 20:06:16 +02: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…
Reference in New Issue
Block a user