зеркало из https://github.com/mozilla/pjs.git
Bug #267865 --> Virtual folders that are subfolders of IMAP folders are deleted after restarting Thunderbird.
Thunderbird fix. sr=bienvenu
This commit is contained in:
Родитель
4b9ac417d8
Коммит
54465e4867
|
@ -78,9 +78,12 @@ function onLoad()
|
|||
}
|
||||
if (arguments.preselectedURI)
|
||||
{
|
||||
gSearchFolderURIs = arguments.preselectedURI;
|
||||
var folderToSearch = GetMsgFolderFromUri(arguments.preselectedURI, false);
|
||||
SetFolderPicker(folderToSearch.parent ? folderToSearch.parent.URI : gSearchFolderURIs, "msgNewFolderPicker");
|
||||
SetFolderPicker(folderToSearch.parent ? folderToSearch.parent.URI : arguments.preselectedURI, "msgNewFolderPicker");
|
||||
|
||||
// if the passed in URI is not a server then pre-select it as the folder to search
|
||||
if (!folderToSearch.isServer)
|
||||
gSearchFolderURIs = arguments.preselectedURI;
|
||||
}
|
||||
if (arguments.newFolderName)
|
||||
document.getElementById("name").value = arguments.newFolderName;
|
||||
|
|
Загрузка…
Ссылка в новой задаче