Bug 402392 - Suite Portion. r=bienvenu
This commit is contained in:
Родитель
8443cde478
Коммит
90c5aa8785
|
@ -933,9 +933,13 @@ function CreateVirtualFolder(newName, parentFolder, searchFolderURIs, searchTer
|
|||
// ### need to make sure view/folder doesn't exist.
|
||||
if (searchFolderURIs && (searchFolderURIs != "") && newName && (newName != ""))
|
||||
{
|
||||
var newFolder;
|
||||
try
|
||||
{
|
||||
var newFolder = parentFolder.addSubfolder(newName);
|
||||
if (parentFolder instanceof(Components.interfaces.nsIMsgLocalMailFolder))
|
||||
newFolder = parentFolder.createLocalSubfolder(newName);
|
||||
else
|
||||
newFolder = parentFolder.addSubfolder(newName);
|
||||
newFolder.setFlag(Components.interfaces.nsMsgFolderFlags.Virtual);
|
||||
var vfdb = newFolder.msgDatabase;
|
||||
var searchTermString = getSearchTermString(searchTerms);
|
||||
|
|
Загрузка…
Ссылка в новой задаче