mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Login screen new interface (social buttons)
This commit is contained in:
parent
28a684b7c8
commit
77a30c0b92
40 changed files with 622 additions and 630 deletions
|
|
@ -13,7 +13,7 @@
|
|||
/**
|
||||
* @constructor
|
||||
*/
|
||||
function ContactsUserSetting()
|
||||
function ContactsUserSettings()
|
||||
{
|
||||
this.contactsAutosave = Data.contactsAutosave;
|
||||
|
||||
|
|
@ -31,6 +31,15 @@
|
|||
this.contactsSyncPass()
|
||||
].join('|');
|
||||
}, this).extend({'throttle': 500});
|
||||
}
|
||||
|
||||
ContactsUserSettings.prototype.onBuild = function ()
|
||||
{
|
||||
Data.contactsAutosave.subscribe(function (bValue) {
|
||||
Remote.saveSettings(null, {
|
||||
'ContactsAutosave': bValue ? '1' : '0'
|
||||
});
|
||||
});
|
||||
|
||||
this.saveTrigger.subscribe(function () {
|
||||
Remote.saveContactsSyncData(null,
|
||||
|
|
@ -40,17 +49,8 @@
|
|||
this.contactsSyncPass()
|
||||
);
|
||||
}, this);
|
||||
}
|
||||
|
||||
ContactsUserSetting.prototype.onBuild = function ()
|
||||
{
|
||||
Data.contactsAutosave.subscribe(function (bValue) {
|
||||
Remote.saveSettings(null, {
|
||||
'ContactsAutosave': bValue ? '1' : '0'
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = ContactsUserSetting;
|
||||
module.exports = ContactsUserSettings;
|
||||
|
||||
}());
|
||||
Loading…
Add table
Add a link
Reference in a new issue