diff --git a/browser/components/preferences/in-content/sync.js b/browser/components/preferences/in-content/sync.js index 8d58f11d034..0fab01450b4 100644 --- a/browser/components/preferences/in-content/sync.js +++ b/browser/components/preferences/in-content/sync.js @@ -425,19 +425,6 @@ var gSyncPane = { } }, - // Called whenever one of the sync engine preferences is changed. - onPreferenceChanged: function() { - let prefElts = document.querySelectorAll("#syncEnginePrefs > preference"); - let syncEnabled = false; - for (let elt of prefElts) { - if (elt.name.startsWith("services.sync.") && elt.value) { - syncEnabled = true; - break; - } - } - Services.prefs.setBoolPref("services.sync.enabled", syncEnabled); - }, - startOver: function (showDialog) { if (showDialog) { let flags = Services.prompt.BUTTON_POS_0 * Services.prompt.BUTTON_TITLE_IS_STRING + diff --git a/browser/components/preferences/in-content/sync.xul b/browser/components/preferences/in-content/sync.xul index f06ab96f461..4101cab8783 100644 --- a/browser/components/preferences/in-content/sync.xul +++ b/browser/components/preferences/in-content/sync.xul @@ -4,8 +4,7 @@ -