Commit 7cf17aa6 authored by Janne Koschinski's avatar Janne Koschinski

Attempt at autosave

parent 9eba6a8a
......@@ -55,7 +55,7 @@ func pageImageDetail(ctx PageContext) http.Handler {
if err != nil {
panic(err)
}
if r.PostFormValue("fromjs") == "true" {
if r.PostFormValue("from_js") == "true" {
returnJson(w, true)
} else {
http.Redirect(w, r, r.URL.Path, http.StatusFound)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment