1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Save smart sections correctly post callback refactoring

This commit is contained in:
sauls8t 2018-01-24 14:00:12 +00:00
parent adef6dfffa
commit c0d70e38de
6 changed files with 18 additions and 16 deletions

View file

@ -119,6 +119,7 @@ func (h *Handler) Add(w http.ResponseWriter, r *http.Request) {
model.Page.Status = workflow.ChangePending
}
} else {
model.Page.RelativeID = ""
model.Page.Status = workflow.ChangePublished
}