eliminated the last amsterdam_ special variable, amsterdam_suppressLogin

This commit is contained in:
2026-02-10 21:42:49 -07:00
parent 2e7474168b
commit d827001329
5 changed files with 9 additions and 6 deletions
+2 -2
View File
@@ -225,7 +225,7 @@ func ProfilePhotoForm(ctxt ui.AmContext) (string, any) {
if err == nil {
ctxt.VarMap().Set("target", target)
ctxt.VarMap().Set("photo_url", userPhotoURL(ci))
ctxt.VarMap().Set("amsterdam_suppressLogin", true)
ctxt.SetScratch("frame_suppressLogin", true)
ctxt.SetFrameTitle("Upload User Photo")
return "framed", "photo_upload.jet"
}
@@ -278,7 +278,7 @@ func ProfilePhoto(ctxt ui.AmContext) (string, any) {
ctxt.VarMap().Set("errorMessage", err.Error())
ctxt.VarMap().Set("target", target)
ctxt.VarMap().Set("photo_url", userPhotoURL(ci))
ctxt.VarMap().Set("amsterdam_suppressLogin", true)
ctxt.SetScratch("frame_suppressLogin", true)
ctxt.SetFrameTitle("Upload User Photo")
return "framed", "photo_upload.jet"
}