fix 266536 handling of out of date local folder summary files, sr=mscott

This commit is contained in:
bienvenu%nventure.com 2004-10-29 19:11:50 +00:00
Родитель f940394719
Коммит 17578c5f7d
1 изменённых файлов: 19 добавлений и 1 удалений

Просмотреть файл

@ -289,7 +289,25 @@ function isNewsURI(uri)
function RerootFolder(uri, newFolder, viewType, viewFlags, sortType, sortOrder)
{
//dump("In reroot folder, sortType = " + sortType + "viewType = " + viewType + "\n");
viewDebug("In reroot folder, sortType = " + sortType + "viewType = " + viewType + "\n");
if (sortType == 0)
{
try
{
var msgdb = newFolder.getMsgDatabase(msgWindow);
var dbFolderInfo = msgdb.dBFolderInfo;
sortType = dbFolderInfo.sortType;
sortOrder = dbFolderInfo.sortOrder;
viewFlags = dbFolderInfo.viewFlags;
viewType = dbFolderInfo.viewType;
dbFolderInfo = null;
}
catch(ex)
{
dump("invalid db in RerootFolder: " + ex + "\n");
}
}
// workaround for #39655
gFolderJustSwitched = true;