mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Fix signature adding
This commit is contained in:
parent
b8e0303fc4
commit
6b1fd1239f
3 changed files with 37 additions and 14 deletions
|
|
@ -869,13 +869,13 @@ class ComposePopupView extends AbstractViewNext
|
|||
return signature;
|
||||
}
|
||||
|
||||
setSignatureFromIdentity(oIdentity) {
|
||||
if (oIdentity)
|
||||
setSignatureFromIdentity(identity) {
|
||||
if (identity)
|
||||
{
|
||||
this.editor((editor) => {
|
||||
let
|
||||
isHtml = false,
|
||||
signature = oIdentity.signature();
|
||||
signature = identity.signature();
|
||||
|
||||
if ('' !== signature)
|
||||
{
|
||||
|
|
@ -886,7 +886,7 @@ class ComposePopupView extends AbstractViewNext
|
|||
}
|
||||
}
|
||||
|
||||
editor.setSignature(this.converSignature(signature), isHtml, !!oIdentity.signatureInsertBefore());
|
||||
editor.setSignature(this.converSignature(signature), isHtml, !!identity.signatureInsertBefore());
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue