forked from pool/MozillaFirefox
44 lines
1.4 KiB
Diff
44 lines
1.4 KiB
Diff
diff --git a/browser/components/preferences/advanced.js b/browser/components/preferences/advanced.js
|
|
--- a/browser/components/preferences/advanced.js
|
|
+++ b/browser/components/preferences/advanced.js
|
|
@@ -46,32 +46,32 @@ var gAdvancedPane = {
|
|
/**
|
|
* Brings the appropriate tab to the front and initializes various bits of UI.
|
|
*/
|
|
init: function ()
|
|
{
|
|
this._inited = true;
|
|
var advancedPrefs = document.getElementById("advancedPrefs");
|
|
|
|
+#ifdef MOZ_UPDATER
|
|
+ this.updateAppUpdateItems();
|
|
+ this.updateAutoItems();
|
|
+ this.updateModeItems();
|
|
+#endif
|
|
+ this.updateOfflineApps();
|
|
+
|
|
var extraArgs = window.arguments[1];
|
|
if (extraArgs && extraArgs["advancedTab"]){
|
|
advancedPrefs.selectedTab = document.getElementById(extraArgs["advancedTab"]);
|
|
} else {
|
|
var preference = document.getElementById("browser.preferences.advanced.selectedTabIndex");
|
|
if (preference.value === null)
|
|
return;
|
|
advancedPrefs.selectedIndex = preference.value;
|
|
}
|
|
-
|
|
-#ifdef MOZ_UPDATER
|
|
- this.updateAppUpdateItems();
|
|
- this.updateAutoItems();
|
|
- this.updateModeItems();
|
|
-#endif
|
|
- this.updateOfflineApps();
|
|
},
|
|
|
|
/**
|
|
* Stores the identity of the current tab in preferences so that the selected
|
|
* tab can be persisted between openings of the preferences window.
|
|
*/
|
|
tabSelectionChanged: function ()
|
|
{
|