preview after all fixups
This commit is contained in:
parent
961fbcbb3b
commit
1139c2886f
11
web.go
11
web.go
|
@ -1030,6 +1030,10 @@ func submithonk(w http.ResponseWriter, r *http.Request) {
|
||||||
} else {
|
} else {
|
||||||
honk.Whofore = 3
|
honk.Whofore = 3
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// back to markdown
|
||||||
|
honk.Noise = noise
|
||||||
|
|
||||||
if r.FormValue("preview") == "preview" {
|
if r.FormValue("preview") == "preview" {
|
||||||
honks := []*Honk{honk}
|
honks := []*Honk{honk}
|
||||||
reverbolate(userinfo.UserID, honks)
|
reverbolate(userinfo.UserID, honks)
|
||||||
|
@ -1046,13 +1050,6 @@ func submithonk(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
honk.UserID = userinfo.UserID
|
|
||||||
honk.RID = rid
|
|
||||||
honk.Date = dt
|
|
||||||
honk.Convoy = convoy
|
|
||||||
|
|
||||||
// back to markdown
|
|
||||||
honk.Noise = noise
|
|
||||||
|
|
||||||
if updatexid != "" {
|
if updatexid != "" {
|
||||||
updatehonk(honk)
|
updatehonk(honk)
|
||||||
|
|
Loading…
Reference in New Issue