Bug 1201902 - Add new feedback link to Loop's panel menu. r=Standard8
authorMike de Boer <mdeboer@mozilla.com>
Mon, 30 Nov 2015 17:29:34 +0100
changeset 309123 ade2734419a41fc0d881c34fa255b5c828c4b873
parent 309122 7bd0b30f4d8174c98686d2cea70f1f31b85d74c9
child 309124 17edd54329657f8783cb7bddd18b86297087fe5e
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersStandard8
bugs1201902
milestone45.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1201902 - Add new feedback link to Loop's panel menu. r=Standard8
browser/extensions/loop/content/panels/js/panel.js
browser/extensions/loop/content/panels/js/panel.jsx
browser/extensions/loop/test/desktop-local/panel_test.js
--- a/browser/extensions/loop/content/panels/js/panel.js
+++ b/browser/extensions/loop/content/panels/js/panel.js
@@ -239,17 +239,17 @@ loop.panel = (function(_, mozL10n) {
       this.hideDropdownMenu();
     },
 
     /**
      * Load on the browser the feedback url from prefs
      */
     handleSubmitFeedback: function(event) {
       event.preventDefault();
-      loop.request("GetLoopPref", "feedback.formURL").then(function(helloFeedbackUrl) {
+      loop.request("GetLoopPref", "feedback.manualFormURL").then(function(helloFeedbackUrl) {
         loop.request("OpenURL", helloFeedbackUrl);
         this.closeWindow();
       }.bind(this));
     },
 
     openGettingStartedTour: function() {
       loop.request("OpenGettingStartedTour", "settings-menu");
       this.closeWindow();
--- a/browser/extensions/loop/content/panels/js/panel.jsx
+++ b/browser/extensions/loop/content/panels/js/panel.jsx
@@ -239,17 +239,17 @@ loop.panel = (function(_, mozL10n) {
       this.hideDropdownMenu();
     },
 
     /**
      * Load on the browser the feedback url from prefs
      */
     handleSubmitFeedback: function(event) {
       event.preventDefault();
-      loop.request("GetLoopPref", "feedback.formURL").then(function(helloFeedbackUrl) {
+      loop.request("GetLoopPref", "feedback.manualFormURL").then(function(helloFeedbackUrl) {
         loop.request("OpenURL", helloFeedbackUrl);
         this.closeWindow();
       }.bind(this));
     },
 
     openGettingStartedTour: function() {
       loop.request("OpenGettingStartedTour", "settings-menu");
       this.closeWindow();
--- a/browser/extensions/loop/test/desktop-local/panel_test.js
+++ b/browser/extensions/loop/test/desktop-local/panel_test.js
@@ -496,17 +496,17 @@ describe("loop.panel", function() {
         return TestUtils.renderIntoDocument(
           React.createElement(loop.panel.SettingsDropdown));
       }
 
       beforeEach(function() {
         feedbackUrl = "https://example.com";
         LoopMochaUtils.stubLoopRequest({
           GetLoopPref: function(pref) {
-            if (pref === "feedback.formURL") {
+            if (pref === "feedback.manualFormURL") {
               return feedbackUrl;
             }
 
             return "unseen";
           }
         });
       });