mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 14:37:02 +03:00
Minor contacts interface improvements.
Move intervals to pub/sub system
This commit is contained in:
parent
b4e52e768c
commit
975947a948
31 changed files with 691 additions and 524 deletions
|
|
@ -83,10 +83,6 @@ MailBoxScreen.prototype.onStart = function ()
|
|||
RL.accountsAndIdentities();
|
||||
}
|
||||
|
||||
_.delay(function () {
|
||||
RL.quota();
|
||||
}, 1000 * 5);
|
||||
|
||||
_.delay(function () {
|
||||
if ('INBOX' !== oData.currentFolderFullNameRaw())
|
||||
{
|
||||
|
|
@ -111,16 +107,12 @@ MailBoxScreen.prototype.onStart = function ()
|
|||
}, 2000);
|
||||
|
||||
_.delay(function () {
|
||||
RL.remote().appDelayStart(Utils.emptyFunction);
|
||||
}, 1000 * 35);
|
||||
|
||||
window.setInterval(function () {
|
||||
RL.folderInformation('INBOX');
|
||||
}, 1000 * 60 * 2);
|
||||
|
||||
window.setInterval(function () {
|
||||
RL.quota();
|
||||
}, 1000 * 60 * 5);
|
||||
}, 5000);
|
||||
|
||||
_.delay(function () {
|
||||
RL.remote().appDelayStart(Utils.emptyFunction);
|
||||
}, 35000);
|
||||
|
||||
$html.toggleClass('rl-no-preview-pane', !oData.usePreviewPane());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue