Bug 975894 - sync prefs listens for weave:service:start-over:finish instead of weave:service:start-over. r=ttaubert.
authorMark Hammond <mhammond@skippinet.com.au>
Thu, 27 Feb 2014 10:43:31 +1100
changeset 171299 aaf67168e062a182040dbe0e1745cab2c39f23ed
parent 171298 3065c1488d1d76691262e714eccdc31d3a92f0ee
child 171300 d8a99aa4df22cf799e7732e749119c9378ea7e75
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersttaubert
bugs975894
milestone30.0a1
Bug 975894 - sync prefs listens for weave:service:start-over:finish instead of weave:service:start-over. r=ttaubert.
browser/components/preferences/sync.js
--- a/browser/components/preferences/sync.js
+++ b/browser/components/preferences/sync.js
@@ -80,17 +80,17 @@ let gSyncPane = {
     window.addEventListener("unload", onUnload, false);
 
     xps.ensureLoaded();
   },
 
   _init: function () {
     let topics = ["weave:service:login:error",
                   "weave:service:login:finish",
-                  "weave:service:start-over",
+                  "weave:service:start-over:finish",
                   "weave:service:setup-complete",
                   "weave:service:logout:finish",
                   FxAccountsCommon.ONVERIFIED_NOTIFICATION];
 
     // Add the observers now and remove them on unload
     //XXXzpao This should use Services.obs.* but Weave's Obs does nice handling
     //        of `this`. Fix in a followup. (bug 583347)
     topics.forEach(function (topic) {