Bug 366505: Unable to save a saved search when no there is no folder pane selection, r+sr=mscott

This commit is contained in:
ajschult%verizon.net 2007-01-26 04:26:21 +00:00
Родитель e98574b800
Коммит 8602fe0d9b
1 изменённых файлов: 1 добавлений и 3 удалений

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

@ -243,11 +243,9 @@ function chooseFoldersToSearch()
// for those folders. Otherwise fall back to the preselectedfolderURI which is the parent folder
// for this new virtual folder.
var srchFolderUriArray = gSearchFolderURIs.split('|');
var folder = GetMsgFolderFromUri(srchFolderUriArray[0] ? srchFolderUriArray[0] : window.arguments[0].preselectedURI, false);
var dialog = window.openDialog("chrome://messenger/content/virtualFolderListDialog.xul", "",
"chrome,titlebar,modal,centerscreen,resizable",
{serverURI:folder.rootFolder.URI,
searchFolderURIs:gSearchFolderURIs,
{searchFolderURIs:gSearchFolderURIs,
okCallback:onFolderListDialogCallback});
}