mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 05:59:21 +03:00
Identities refactoring and improvements (Reply-To and BCC)
This commit is contained in:
parent
3e01887f85
commit
493191375f
43 changed files with 578 additions and 1051 deletions
|
|
@ -4,9 +4,7 @@
|
|||
'use strict';
|
||||
|
||||
var
|
||||
ko = require('ko'),
|
||||
|
||||
Settings = require('Storage/Settings')
|
||||
ko = require('ko')
|
||||
;
|
||||
|
||||
/**
|
||||
|
|
@ -14,17 +12,10 @@
|
|||
*/
|
||||
function IdentityUserStore()
|
||||
{
|
||||
this.defaultIdentityID = ko.observable('');
|
||||
|
||||
this.identities = ko.observableArray([]);
|
||||
this.identities.loading = ko.observable(false).extend({'throttle': 100});
|
||||
}
|
||||
|
||||
IdentityUserStore.prototype.populate = function ()
|
||||
{
|
||||
this.defaultIdentityID(Settings.settingsGet('DefaultIdentityID'));
|
||||
};
|
||||
|
||||
module.exports = new IdentityUserStore();
|
||||
|
||||
}());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue