mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
Many small fixes.
This commit is contained in:
parent
9188228f5d
commit
ab374bbb71
13 changed files with 339 additions and 396 deletions
|
|
@ -866,7 +866,7 @@ class ComposePopupView extends AbstractViewNext
|
|||
return signature;
|
||||
}
|
||||
|
||||
setSignatureFromIdentity(identity, first = false) {
|
||||
setSignatureFromIdentity(identity) {
|
||||
if (identity)
|
||||
{
|
||||
this.editor((editor) => {
|
||||
|
|
@ -883,7 +883,7 @@ class ComposePopupView extends AbstractViewNext
|
|||
}
|
||||
}
|
||||
|
||||
editor.setSignature(this.converSignature(signature), isHtml, !!identity.signatureInsertBefore(), first);
|
||||
editor.setSignature(this.converSignature(signature), isHtml, !!identity.signatureInsertBefore());
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -1168,7 +1168,7 @@ class ComposePopupView extends AbstractViewNext
|
|||
|
||||
if (identity && ComposeType.Draft !== lineComposeType && ComposeType.EditAsNew !== lineComposeType)
|
||||
{
|
||||
this.setSignatureFromIdentity(identity, true);
|
||||
this.setSignatureFromIdentity(identity);
|
||||
}
|
||||
|
||||
this.setFocusInPopup();
|
||||
|
|
@ -1192,7 +1192,7 @@ class ComposePopupView extends AbstractViewNext
|
|||
|
||||
if (identity)
|
||||
{
|
||||
this.setSignatureFromIdentity(identity, true);
|
||||
this.setSignatureFromIdentity(identity);
|
||||
}
|
||||
|
||||
this.setFocusInPopup();
|
||||
|
|
@ -1216,7 +1216,7 @@ class ComposePopupView extends AbstractViewNext
|
|||
|
||||
if (identity && ComposeType.Draft !== lineComposeType && ComposeType.EditAsNew !== lineComposeType)
|
||||
{
|
||||
this.setSignatureFromIdentity(identity, true);
|
||||
this.setSignatureFromIdentity(identity);
|
||||
}
|
||||
|
||||
this.setFocusInPopup();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue