Backing out the FE portion of my changes to try and clear up the orange.

This commit is contained in:
bnesse%netscape.com 2006-05-17 02:34:21 +00:00
Родитель 91af35dced
Коммит fec205ff63
3 изменённых файлов: 1 добавлений и 24 удалений

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

@ -254,26 +254,7 @@ nsPrefWindow.prototype =
}
}
}
try
{
this.pref.savePrefFile(null);
}
catch (e)
{
try
{
var prefUtilBundle = document.getElementById("bundle_prefutilities");
var alertText = prefUtilBundle.getString("prefSaveFailedAlert");
var titleText = prefUtilBundle.getString("prefSaveFailedTitle");
var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
.getService(Components.interfaces.nsIPromptService);
promptService.alert(window, titleText, alertText);
}
catch (e)
{
dump(e + "\n");
}
}
this.pref.savePrefFile(null);
},
switchPage:

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

@ -60,8 +60,6 @@
</script>
<stringbundle id="bundle_prefutilities"
src="chrome://communicator/locale/pref/prefutilities.properties"/>
<script type="application/x-javascript" src="chrome://global/content/nsWidgetStateManager.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/pref/nsPrefWindow.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-help.js"/>

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

@ -15,5 +15,3 @@ oldTheme=You have selected a theme which was designed for an earlier version of
languageAlert=Please restart %brand% to use the new preferred language or region setting.
languageTitle=Change Language
prefSaveFailedAlert=Failed to save the preferences file. Any preference changes will be lost at the end of this session.
prefSaveFailedTitle=Save Error