mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Small fixes
This commit is contained in:
parent
1027f319ed
commit
2d9ac0b53a
6 changed files with 28 additions and 22 deletions
|
|
@ -29,7 +29,7 @@ MailBoxScreen.prototype.setNewTitle = function ()
|
|||
sEmail = RL.data().accountEmail(),
|
||||
ifoldersInboxUnreadCount = RL.data().foldersInboxUnreadCount()
|
||||
;
|
||||
|
||||
|
||||
RL.setTitle(('' === sEmail ? '' :
|
||||
(0 < ifoldersInboxUnreadCount ? '(' + ifoldersInboxUnreadCount + ') ' : ' ') + sEmail + ' - ') + Utils.i18n('TITLES/MAILBOX'));
|
||||
};
|
||||
|
|
@ -74,7 +74,6 @@ MailBoxScreen.prototype.onRoute = function (sFolderHash, iPage, sSearch, bPrevie
|
|||
if (Enums.Layout.NoPreview === oData.layout() && oData.message())
|
||||
{
|
||||
oData.message(null);
|
||||
oData.messageFullScreenMode(false);
|
||||
}
|
||||
|
||||
RL.reloadMessageList();
|
||||
|
|
@ -120,7 +119,7 @@ MailBoxScreen.prototype.onStart = function ()
|
|||
oData.layout.subscribe(function (nValue) {
|
||||
$html.toggleClass('rl-no-preview-pane', Enums.Layout.NoPreview === nValue);
|
||||
});
|
||||
|
||||
|
||||
oData.foldersInboxUnreadCount.subscribe(function () {
|
||||
this.setNewTitle();
|
||||
}, this);
|
||||
|
|
|
|||
|
|
@ -289,6 +289,7 @@ function WebMailDataStorage()
|
|||
if (!oMessage)
|
||||
{
|
||||
this.message.focused(false);
|
||||
this.messageFullScreenMode(false);
|
||||
this.hideMessageBodies();
|
||||
|
||||
if (Enums.Layout.NoPreview === RL.data().layout() &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue