mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Small fixes
This commit is contained in:
parent
1027f319ed
commit
2d9ac0b53a
6 changed files with 28 additions and 22 deletions
|
|
@ -16764,6 +16764,7 @@ function WebMailDataStorage()
|
|||
if (!oMessage)
|
||||
{
|
||||
this.message.focused(false);
|
||||
this.messageFullScreenMode(false);
|
||||
this.hideMessageBodies();
|
||||
|
||||
if (Enums.Layout.NoPreview === RL.data().layout() &&
|
||||
|
|
@ -19427,7 +19428,7 @@ MailBoxScreen.prototype.setNewTitle = function ()
|
|||
sEmail = RL.data().accountEmail(),
|
||||
ifoldersInboxUnreadCount = RL.data().foldersInboxUnreadCount()
|
||||
;
|
||||
|
||||
|
||||
RL.setTitle(('' === sEmail ? '' :
|
||||
(0 < ifoldersInboxUnreadCount ? '(' + ifoldersInboxUnreadCount + ') ' : ' ') + sEmail + ' - ') + Utils.i18n('TITLES/MAILBOX'));
|
||||
};
|
||||
|
|
@ -19472,7 +19473,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();
|
||||
|
|
@ -19518,7 +19518,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);
|
||||
|
|
|
|||
14
rainloop/v/0.0.0/static/js/app.min.js
vendored
14
rainloop/v/0.0.0/static/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue