diff --git a/mozilla/suite/common/pref/pref-charset.js b/mozilla/suite/common/pref/pref-charset.js index 102ea356571..64636451b53 100644 --- a/mozilla/suite/common/pref/pref-charset.js +++ b/mozilla/suite/common/pref/pref-charset.js @@ -17,7 +17,7 @@ function Init() if (prefInt) { prefInt = prefInt.getService(Components.interfaces.nsIPref); - if (applicationArea.indexOf("mail") != -1) { + if (applicationArea == "mailedit") { pref_string_title = "intl.charsetmenu.mailedit"; } else { //default is the browser @@ -29,7 +29,7 @@ function Init() AddRemoveLatin1('add'); } - if (applicationArea.indexOf("mail") != -1) { // mailedit + if (applicationArea == "mailedit") { // mailedit LoadAvailableCharSets("NC:EncodersRoot"); } else { // browser, mailview, composer LoadAvailableCharSets("NC:DecodersRoot");