Bug 961471 - Ensure the initial sync prefs pane writes the sync preferences. r=ttaubert, a=sledru
authorMark Hammond <mhammond@skippinet.com.au>
Thu, 15 May 2014 12:10:41 +1000
changeset 192308 09a9c1859b6b
parent 192307 107fdcd0b146
child 192309 ece051d029de
push id3566
push userryanvm@gmail.com
push date2014-05-20 13:28 +0000
Treeherderresults
reviewersttaubert, sledru
bugs961471
milestone30.0
Bug 961471 - Ensure the initial sync prefs pane writes the sync preferences. r=ttaubert, a=sledru
browser/base/content/sync/customize.js
--- a/browser/base/content/sync/customize.js
+++ b/browser/base/content/sync/customize.js
@@ -14,10 +14,12 @@ let service = Cc["@mozilla.org/weave/ser
 
 if (!service.allowPasswordsEngine) {
   let checkbox = document.getElementById("fxa-pweng-chk");
   checkbox.checked = false;
   checkbox.disabled = true;
 }
 
 addEventListener("dialogaccept", function () {
+  let pane = document.getElementById("sync-customize-pane");
+  pane.writePreferences(true);
   window.arguments[0].accepted = true;
 });