зеркало из https://github.com/mozilla/pjs.git
Bug 366505: Unable to save a saved search when no there is no folder pane selection, r+sr=mscott
This commit is contained in:
Родитель
e98574b800
Коммит
8602fe0d9b
|
@ -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});
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче