factored out some common error messages to error objects that can be referenced

This commit is contained in:
2026-02-10 18:04:36 -07:00
parent cf5d4422ac
commit 38c4b3f71e
8 changed files with 42 additions and 24 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ func AttachmentUpload(ctxt ui.AmContext) (string, any) {
ctxt.VarMap().Set("errorMessage", err.Error())
return "framed", "attachment_upload.jet"
}
return "error", "invalid button clicked on form"
return "error", EBUTTON
}
/* AttachmentSend sends the data of an attachment to the browser.