mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
"Add your signature to all the outgoing messages" configuration (close #52)
This commit is contained in:
parent
fa35368e45
commit
b0593b813e
23 changed files with 161 additions and 22 deletions
|
|
@ -9,6 +9,7 @@ function SettingsIdentities()
|
|||
|
||||
this.displayName = oData.displayName;
|
||||
this.signature = oData.signature;
|
||||
this.signatureToAll = oData.signatureToAll;
|
||||
this.replyTo = oData.replyTo;
|
||||
|
||||
this.displayNameTrigger = ko.observable(Enums.SaveSettingsStep.Idle);
|
||||
|
|
@ -119,5 +120,11 @@ SettingsIdentities.prototype.onBuild = function (oDom)
|
|||
});
|
||||
});
|
||||
|
||||
oData.signatureToAll.subscribe(function (bValue) {
|
||||
RL.remote().saveSettings(null, {
|
||||
'SignatureToAll': bValue ? '1' : '0'
|
||||
});
|
||||
});
|
||||
|
||||
}, 50);
|
||||
};
|
||||
|
|
@ -9,6 +9,7 @@ function SettingsIdentity()
|
|||
|
||||
this.displayName = oData.displayName;
|
||||
this.signature = oData.signature;
|
||||
this.signatureToAll = oData.signatureToAll;
|
||||
this.replyTo = oData.replyTo;
|
||||
|
||||
this.displayNameTrigger = ko.observable(Enums.SaveSettingsStep.Idle);
|
||||
|
|
@ -47,6 +48,12 @@ SettingsIdentity.prototype.onBuild = function ()
|
|||
'Signature': sValue
|
||||
});
|
||||
});
|
||||
|
||||
oData.signatureToAll.subscribe(function (bValue) {
|
||||
RL.remote().saveSettings(null, {
|
||||
'SignatureToAll': bValue ? '1' : '0'
|
||||
});
|
||||
});
|
||||
|
||||
}, 50);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue