mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Backing out the FE portion of my changes to try and clear up the orange.
This commit is contained in:
parent
91af35dced
commit
fec205ff63
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user