mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
ko cleaning up
This commit is contained in:
parent
fcac46f60e
commit
d8321a522e
25 changed files with 396 additions and 131 deletions
|
|
@ -464,6 +464,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
Utils.delegateRunOnDestroy(Data.openpgpkeys());
|
||||
Data.openpgpkeys(aKeys);
|
||||
}
|
||||
};
|
||||
|
|
@ -489,6 +490,7 @@
|
|||
|
||||
if (Utils.isArray(oData.Result['Accounts']))
|
||||
{
|
||||
Utils.delegateRunOnDestroy(Data.accounts());
|
||||
Data.accounts(_.map(oData.Result['Accounts'], function (sValue) {
|
||||
return new AccountModel(sValue, sValue !== sParentEmail);
|
||||
}));
|
||||
|
|
@ -496,6 +498,7 @@
|
|||
|
||||
if (Utils.isArray(oData.Result['Identities']))
|
||||
{
|
||||
Utils.delegateRunOnDestroy(Data.identities());
|
||||
Data.identities(_.map(oData.Result['Identities'], function (oIdentityData) {
|
||||
|
||||
var
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue