factored out the need for amsterdam_pageTitle by having FrameTitle be a separate bit of metadata in AmContext
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ func (mb *MessageBox) Render(ctxt AmContext) (string, any) {
|
||||
}
|
||||
ctxt.SetSession("mbconfirm."+mb.def.Id, nonce)
|
||||
}
|
||||
ctxt.VarMap().Set("amsterdam_pageTitle", mb.def.Title)
|
||||
ctxt.SetFrameTitle(mb.def.Title)
|
||||
ctxt.VarMap().Set("tone", mb.def.Tone)
|
||||
ctxt.VarMap().Set("destructive", mb.def.Destructive)
|
||||
ctxt.VarMap().Set("message", mb.message)
|
||||
|
||||
Reference in New Issue
Block a user