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
+1 -1
View File
@@ -320,7 +320,7 @@ func (d *Dialog) Render(ctxt AmContext) (string, any) {
ctxt.VarMap().Set("__dialog", d)
ctxt.SetFrameTitle(d.Title)
if strings.Contains(d.Options, "suppresslogin") {
ctxt.VarMap().Set("amsterdam_suppressLogin", true)
ctxt.SetScratch("frame_suppressLogin", true)
}
return "framed", "dialog.jet"
}