sklad: make it possible to update the parent
This commit is contained in:
parent
1bd7a9d735
commit
2d1e01a1a2
|
@ -92,6 +92,7 @@ func handleContainerPost(r *http.Request) error {
|
||||||
c := *container
|
c := *container
|
||||||
c.Description = description
|
c.Description = description
|
||||||
c.Series = series
|
c.Series = series
|
||||||
|
c.Parent = parent
|
||||||
return dbContainerUpdate(container, c)
|
return dbContainerUpdate(container, c)
|
||||||
}
|
}
|
||||||
} else if remove {
|
} else if remove {
|
||||||
|
|
Loading…
Reference in New Issue