mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Allow saving draft with empty body #1052
This commit is contained in:
parent
af9b778f63
commit
b0dda8d3ae
1 changed files with 1 additions and 1 deletions
|
|
@ -1398,7 +1398,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
isHtml = this.oEditor.isHtml();
|
||||
|
||||
let Text = this.oEditor.getData().trim();
|
||||
if (!Text.length) {
|
||||
if (!draft && !Text.length) {
|
||||
throw i18n('COMPOSE/ERROR_EMPTY_BODY');
|
||||
}
|
||||
if (isHtml) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue