diff --git a/application/palemoon/components/preferences/privacy.js b/application/palemoon/components/preferences/privacy.js index 7b319c3ee6..05ed3bcdd3 100644 --- a/application/palemoon/components/preferences/privacy.js +++ b/application/palemoon/components/preferences/privacy.js @@ -19,41 +19,15 @@ var gPrivacyPane = { /** * Sets up the UI for the number of days of history to keep, and updates the * label of the "Clear Now..." button. - * Also restores the previously selected tab or tab index passed as argument. */ init: function() { - this._inited = true; - var privacyPrefs = document.getElementById("privacyPrefs"); - - var extraArgs = window.arguments[1]; - if (extraArgs && extraArgs["privacyTab"]){ - privacyPrefs.selectedTab = document.getElementById(extraArgs["privacyTab"]); - } else { - var preference = document.getElementById("browser.preferences.privacy.selectedTabIndex"); - if (preference.value !== null) - privacyPrefs.selectedIndex = preference.value; - } - this._updateSanitizeSettingsButton(); this.initializeHistoryMode(); this.updateHistoryModePane(); this.updatePrivacyMicroControls(); this.initAutoStartPrivateBrowsingReverter(); }, - - /** - * 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() - { - if (!this._inited) - return; - var privacyPrefs = document.getElementById("privacyPrefs"); - var preference = document.getElementById("browser.preferences.privacy.selectedTabIndex"); - preference.valueFromPreferences = privacyPrefs.selectedIndex; - }, // HISTORY MODE diff --git a/application/palemoon/components/preferences/privacy.xul b/application/palemoon/components/preferences/privacy.xul index 25ce8843d5..50b89f1620 100644 --- a/application/palemoon/components/preferences/privacy.xul +++ b/application/palemoon/components/preferences/privacy.xul @@ -22,10 +22,6 @@ - -