Bug 1201902 - Add new feedback link to Loop's panel menu. r=Standard8

This commit is contained in:
Mike de Boer 2015-11-30 17:29:34 +01:00
parent 81c50d96fe
commit 428c8289c7
3 changed files with 3 additions and 3 deletions

View File

@ -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));

View File

@ -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));

View File

@ -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;
}