Make retry actually work.
authorShawn Wilsher <me@shawnwilsher.com>
Thu, 05 Nov 2009 07:26:41 -0800
changeset 29 561ac9f839ebaa116ccd8dbeebbbddfb82893f96
parent 28 45b98ebeb6dfb5f3b247741b4b01c31394585590
child 30 ffe19e7a72d5cde8c622a8a68ae4c81dab5eb5ca
push id16
push usersdwilsh@shawnwilsher.com
push dateThu, 05 Nov 2009 16:17:28 +0000
Make retry actually work.
resource/BugzillaHelper.jsm
--- a/resource/BugzillaHelper.jsm
+++ b/resource/BugzillaHelper.jsm
@@ -183,23 +183,22 @@ CommentActivity.prototype = {
     this._process = null;
   },
 
   //////////////////////////////////////////////////////////////////////////////
   //// nsIActivityRetryHandler
 
   retry: function CA_retry(aProcess)
   {
-    // XXX this object is bogus
     // Recreate our cycle - it will break again when we complete.
     this._process = aProcess;
 
     // Retry by starting over.
     let context = this._context;
-    this.start(this._bug, this._auth, context.comment, context.isPrivate);
+    this.start(this._auth, context.comment, context.isPrivate, !!context.auth);
   },
 
   //////////////////////////////////////////////////////////////////////////////
   //// nsISupports
 
   QueryInterface: XPCOMUtils.generateQI([
     Ci.nsIActivityRetryHandler,
   ]),