From bbce650aa74ccc4307109192606e4f0f7341f06a Mon Sep 17 00:00:00 2001 From: Mike de Boer Date: Mon, 30 Nov 2015 17:29:34 +0100 Subject: [PATCH] Bug 1201902 - Add new feedback link to Loop's panel menu. r=Standard8 --- browser/extensions/loop/content/panels/js/panel.js | 2 +- browser/extensions/loop/content/panels/js/panel.jsx | 2 +- browser/extensions/loop/test/desktop-local/panel_test.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/browser/extensions/loop/content/panels/js/panel.js b/browser/extensions/loop/content/panels/js/panel.js index 8a47ecd895c2..8557644878e2 100644 --- a/browser/extensions/loop/content/panels/js/panel.js +++ b/browser/extensions/loop/content/panels/js/panel.js @@ -244,7 +244,7 @@ loop.panel = (function(_, mozL10n) { */ 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)); diff --git a/browser/extensions/loop/content/panels/js/panel.jsx b/browser/extensions/loop/content/panels/js/panel.jsx index afa4a749438d..0e0b5997ed4a 100644 --- a/browser/extensions/loop/content/panels/js/panel.jsx +++ b/browser/extensions/loop/content/panels/js/panel.jsx @@ -244,7 +244,7 @@ loop.panel = (function(_, mozL10n) { */ 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)); diff --git a/browser/extensions/loop/test/desktop-local/panel_test.js b/browser/extensions/loop/test/desktop-local/panel_test.js index 40364690ab94..ea54a67a2de4 100644 --- a/browser/extensions/loop/test/desktop-local/panel_test.js +++ b/browser/extensions/loop/test/desktop-local/panel_test.js @@ -501,7 +501,7 @@ describe("loop.panel", function() { feedbackUrl = "https://example.com"; LoopMochaUtils.stubLoopRequest({ GetLoopPref: function(pref) { - if (pref === "feedback.formURL") { + if (pref === "feedback.manualFormURL") { return feedbackUrl; }