mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 16:07:03 +03:00
Resolve #974
This commit is contained in:
parent
3b7deb1328
commit
6e6ed0eab3
1 changed files with 4 additions and 1 deletions
|
|
@ -1404,7 +1404,10 @@ export class ComposePopupView extends AbstractViewPopup {
|
||||||
encrypt = this.pgpEncrypt() && this.canPgpEncrypt(),
|
encrypt = this.pgpEncrypt() && this.canPgpEncrypt(),
|
||||||
isHtml = this.oEditor.isHtml();
|
isHtml = this.oEditor.isHtml();
|
||||||
|
|
||||||
let Text = this.oEditor.getData();
|
let Text = this.oEditor.getData().trim();
|
||||||
|
if (!Text.length) {
|
||||||
|
throw 'Message body is empty';
|
||||||
|
}
|
||||||
if (isHtml) {
|
if (isHtml) {
|
||||||
let l;
|
let l;
|
||||||
do {
|
do {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue