Bug 771968 - Call onLoginFinish properly; r=rnewman
authorGregory Szorc <gps@mozilla.com>
Mon, 09 Jul 2012 15:17:00 -0700
changeset 98704 4a46b155c36578fe32acc07e0f7eb2c5617e9f43
parent 98703 37fc31499d8a9013a26549f432be1faf0e1d78e7
child 98705 f6a5b82eb76bd7c0d4f01cf3bf87cd4f533c2134
push id560
push usergszorc@mozilla.com
push dateMon, 09 Jul 2012 22:25:31 +0000
treeherderservices-central@f6a5b82eb76b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrnewman
bugs771968
milestone16.0a1
Bug 771968 - Call onLoginFinish properly; r=rnewman
browser/base/content/browser-syncui.js
--- a/browser/base/content/browser-syncui.js
+++ b/browser/base/content/browser-syncui.js
@@ -136,17 +136,17 @@ let gSyncUI = {
 
   onLoginFinish: function SUI_onLoginFinish() {
     // Clear out any login failure notifications
     let title = this._stringBundle.GetStringFromName("error.login.title");
     this.clearError(title);
   },
 
   onSetupComplete: function SUI_onSetupComplete() {
-    onLoginFinish();
+    this.onLoginFinish();
   },
 
   onLoginError: function SUI_onLoginError() {
     // if login fails, any other notifications are essentially moot
     Weave.Notifications.removeAll();
 
     // if we haven't set up the client, don't show errors
     if (this._needsSetup()) {