diff --git a/page_image_detail.go b/page_image_detail.go index 57102c2415bb985ebd725bb08240a0ed777af522..62d1effd76aa9fca6c9716f18adec61ca6c8bfe5 100644 --- a/page_image_detail.go +++ b/page_image_detail.go @@ -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)