Bug 669666 - Make sure Sync is initialized when the Fennec prefs panel is opened [r=mfinkle]

This commit is contained in:
Matt Brubeck 2011-09-02 11:18:36 -07:00
parent 98ec4ba85b
commit bb3a25f4cf
2 changed files with 5 additions and 0 deletions

View File

@ -103,6 +103,7 @@ var PreferencesView = {
this._loadHomePage();
MasterPasswordUI.updatePreference();
WeaveGlue.init();
},
_loadLocales: function _loadLocales() {

View File

@ -39,8 +39,12 @@
let WeaveGlue = {
setupData: null,
jpake: null,
_bundle: null,
init: function init() {
if (this._bundle)
return;
this._bundle = Services.strings.createBundle("chrome://browser/locale/sync.properties");
this._msg = document.getElementById("prefs-messages");