Bug 708315 - virtual search folder can't be deleted ("bundle is not defined" error in folderPane.js). r+a=Standard8

This commit is contained in:
aceman 2011-12-20 16:41:15 +05:30
Родитель acc7510aeb
Коммит 033fe14205
1 изменённых файлов: 4 добавлений и 2 удалений

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

@ -2200,8 +2200,10 @@ let gFolderTreeController = {
throw new Error("Can't delete folder: " + folder.name);
if (folder.flags & nsMsgFolderFlags.Virtual) {
let confirmation = bundle.getString("confirmSavedSearchDeleteMessage");
let title = bundle.getString("confirmSavedSearchTitle");
let confirmation = document.getElementById("bundle_messenger")
.getString("confirmSavedSearchDeleteMessage");
let title = document.getElementById("bundle_messenger")
.getString("confirmSavedSearchTitle");
let IPS = Components.interfaces.nsIPromptService;
if (Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
.getService(IPS)