remember if preview is an update
This commit is contained in:
parent
d8f6060163
commit
d74393e323
1
web.go
1
web.go
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue