Bug 293421: "View->Threads->Threads with Unread" lost after message view; r/sr=bienvenu

This commit is contained in:
mnyromyr%tprac.de 2007-03-30 20:58:18 +00:00
Родитель 78f0e2d4b8
Коммит fbe54ac96b
2 изменённых файлов: 4 добавлений и 2 удалений

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

@ -902,6 +902,7 @@ function FolderPaneSelectionChange()
var sortOrder = 0;
var viewFlags = 0;
var viewType = 0;
gDefaultSearchViewTerms = null;
gVirtualFolderTerms = null;
gXFVirtualFolderTerms = null;
gPrevFolderFlags = folderFlags;
@ -981,7 +982,7 @@ function FolderPaneSelectionChange()
if (gXFVirtualFolderTerms)
viewType = nsMsgViewType.eShowVirtualFolderResults;
else if (gSearchEmailAddress || gDefaultSearchViewTerms || gVirtualFolderTerms)
else if (gSearchEmailAddress || gVirtualFolderTerms)
viewType = nsMsgViewType.eShowQuickSearchResults;
else if (viewType == nsMsgViewType.eShowQuickSearchResults)
viewType = nsMsgViewType.eShowAllThreads; //override viewType - we don't want to start w/ quick search

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

@ -847,6 +847,7 @@ function FolderPaneSelectionChange()
var sortOrder = 0;
var viewFlags = 0;
var viewType = 0;
gDefaultSearchViewTerms = null;
gVirtualFolderTerms = null;
gXFVirtualFolderTerms = null;
gPrevFolderFlags = folderFlags;
@ -927,7 +928,7 @@ function FolderPaneSelectionChange()
if (gXFVirtualFolderTerms)
viewType = nsMsgViewType.eShowVirtualFolderResults;
else if (gSearchEmailAddress || gDefaultSearchViewTerms || gVirtualFolderTerms)
else if (gSearchEmailAddress || gVirtualFolderTerms)
viewType = nsMsgViewType.eShowQuickSearchResults;
else if (viewType == nsMsgViewType.eShowQuickSearchResults)
viewType = nsMsgViewType.eShowAllThreads; //override viewType - we don't want to start w/ quick search