mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-11 00:14:50 +03:00
Prevent to check empty folder name
This commit is contained in:
parent
b50464afeb
commit
33b3be62ef
4 changed files with 151 additions and 145 deletions
|
|
@ -78,7 +78,7 @@ MailBoxScreen.prototype.onStart = function ()
|
|||
|
||||
_.delay(function () {
|
||||
var sFolder = RL.data().spamFolder();
|
||||
if (sFolder !== oData.currentFolderFullNameRaw())
|
||||
if (sFolder !== oData.currentFolderFullNameRaw() && '' !== sFolder)
|
||||
{
|
||||
RL.folderInformation(sFolder);
|
||||
}
|
||||
|
|
@ -86,7 +86,7 @@ MailBoxScreen.prototype.onStart = function ()
|
|||
|
||||
_.delay(function () {
|
||||
var sFolder = RL.data().draftFolder();
|
||||
if (sFolder !== oData.currentFolderFullNameRaw())
|
||||
if (sFolder !== oData.currentFolderFullNameRaw() && '' !== sFolder)
|
||||
{
|
||||
RL.folderInformation(sFolder);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue