Bug #267865 --> Virtual folders that are subfolders of IMAP folders are deleted after restarting Thunderbird.

Thunderbird fix.

sr=bienvenu
This commit is contained in:
scott%scott-macgregor.org 2004-11-18 22:23:34 +00:00
Родитель 4b9ac417d8
Коммит 54465e4867
1 изменённых файлов: 5 добавлений и 2 удалений

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

@ -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;