mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Release fixes
This commit is contained in:
parent
5e31c01344
commit
9a98bff931
30 changed files with 143 additions and 76 deletions
|
|
@ -90,6 +90,15 @@
|
|||
|
||||
if (oCacheFolder)
|
||||
{
|
||||
if (!FolderStore.displaySpecSetting())
|
||||
{
|
||||
oCacheFolder.checkable(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
oCacheFolder.checkable(!!oFolder.Checkable);
|
||||
}
|
||||
|
||||
oCacheFolder.collapsed(!self.isFolderExpanded(oCacheFolder.fullNameHash));
|
||||
|
||||
if (oFolder.Extended)
|
||||
|
|
@ -131,6 +140,14 @@
|
|||
if (oData && 'Collection/FolderCollection' === oData['@Object'] &&
|
||||
oData['@Collection'] && Utils.isArray(oData['@Collection']))
|
||||
{
|
||||
var
|
||||
iLimit = Utils.pInt(Settings.settingsGet('FolderSpecLimit')),
|
||||
iC = Utils.pInt(oData['CountRec'])
|
||||
;
|
||||
|
||||
iLimit = 100 < iLimit ? 100 : (10 > iLimit ? 10 : iLimit);
|
||||
|
||||
FolderStore.displaySpecSetting(0 >= iC || iLimit < iC);
|
||||
FolderStore.folderList(this.folderResponseParseRec(
|
||||
Utils.isUnd(oData.Namespace) ? '' : oData.Namespace, oData['@Collection']));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue