зеркало из https://github.com/mozilla/pjs.git
fix 266536 handling of out of date local folder summary files, sr=mscott
This commit is contained in:
Родитель
f940394719
Коммит
17578c5f7d
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче