Bug 604253 followup, fix for Firefox 3.6. r+a=dtownsend
authorJono S Xia <jdicarlo@mozilla.com>
Thu, 10 Feb 2011 14:21:36 -0800
changeset 62311 00678ee61f4ab5f211b1fad940c76e3f8c7c77ac
parent 62310 346e58464d3ddbebcd309ba1cc0486f2dc3a3493
child 62312 a28d7d3ce0f0e8ade62d477559fc9ae14f3a16d3
push id1
push userroot
push dateTue, 10 Dec 2013 15:46:25 +0000
bugs604253
milestone2.0b12pre
Bug 604253 followup, fix for Firefox 3.6. r+a=dtownsend
browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/interface.js
--- a/browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/interface.js
+++ b/browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/interface.js
@@ -132,18 +132,18 @@ var TestPilotUIBuilder = {
     /* This is sometimes called for windows that don't have a navbar - in
      * that case, do nothing. TODO maybe this should be in onWindowLoad?*/
     if (!firefoxnav) {
       return;
     }
 
     /* Overlay Feedback XUL if we're in the beta update channel, Test Pilot XUL otherwise.
      * Once the overlay is complete, call buildFeedbackInterface() or buildTestPilotInterface(). */
+    let self = this;
     if (this.isBetaChannel()) {
-      let self = this;
       window.document.loadOverlay("chrome://testpilot/content/feedback-browser.xul",
                                   {observe: function(subject, topic, data) {
                                      if (topic == "xul-overlay-merged") {
                                        self.buildFeedbackInterface(window);
                                      }
                                    }});
     } else {
       window.document.loadOverlay("chrome://testpilot/content/tp-browser.xul",