remember if preview is an update

This commit is contained in:
Ted Unangst 2019-11-09 18:44:02 -05:00
parent d8f6060163
commit d74393e323
1 changed files with 1 additions and 0 deletions

1
web.go
View File

@ -1545,6 +1545,7 @@ func submithonk(w http.ResponseWriter, r *http.Request) {
templinfo["Noise"] = r.FormValue("noise") templinfo["Noise"] = r.FormValue("noise")
templinfo["SavedFile"] = donkxid templinfo["SavedFile"] = donkxid
templinfo["IsPreview"] = true templinfo["IsPreview"] = true
templinfo["UpdateXID"] = updatexid
templinfo["ServerMessage"] = "honk preview" templinfo["ServerMessage"] = "honk preview"
err := readviews.Execute(w, "honkpage.html", templinfo) err := readviews.Execute(w, "honkpage.html", templinfo)
if err != nil { if err != nil {