Skip to content
Snippets Groups Projects
Commit 7cf17aa6 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Attempt at autosave

parent 9eba6a8a
Branches
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment