Disallow posting empty message

This commit is contained in:
anthony
2023-09-25 20:25:01 -05:00
parent fc107f1552
commit a6196c38ec
3 changed files with 61 additions and 10 deletions

View File

@@ -183,6 +183,13 @@ exports.FullScreenEditorModule =
return cb(null);
},
editModeEscPressed: function (formData, extraArgs, cb) {
const errMsgView = self.viewControllers.header.getView(
MciViewIds.header.errorMsg
);
if (errMsgView) {
errMsgView.clearText();
}
self.footerMode =
'editor' === self.footerMode ? 'editorMenu' : 'editor';