Bug 235058 Content/language switching from UI is broken

r=neil sr=bz


git-svn-id: svn://10.0.0.236/trunk@193888 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de
2006-04-08 00:57:51 +00:00
parent 926e2f0d1b
commit 6f2423cee5

View File

@@ -64,7 +64,7 @@
var shouldRemoveFaslFile = false;
//Switch the Content pack if necessary
var oldContentPack = parent.hPrefWindow.getPref( "localizedstring", "general.useragent.contentlocale");
var newContentPack = parent.hPrefWindow.wsm.dataManager.getItemData( "chrome://communicator/content/pref/pref-content.xul", "contentPackList" ).prefvalue;
var newContentPack = parent.hPrefWindow.wsm.dataManager.getItemData( "chrome://content-packs/content/pref-contentpacks.xul", "contentPackList" ).prefvalue;
if (newContentPack && (newContentPack != oldContentPack))
{
try {
@@ -77,7 +77,7 @@
//Switch the Language pack if necessary
var oldLanguagePack = parent.hPrefWindow.getPref( "localizedstring", "general.useragent.locale");
var newLanguagePack = parent.hPrefWindow.wsm.dataManager.getItemData( "chrome://communicator/content/pref/pref-content.xul", "languagePackList" ).prefvalue;
var newLanguagePack = parent.hPrefWindow.wsm.dataManager.getItemData( "chrome://content-packs/content/pref-contentpacks.xul", "languagePackList" ).prefvalue;
if (newLanguagePack && (newLanguagePack != oldLanguagePack))
{
try {