mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1201902 - Add new feedback link to Loop's panel menu. r=Standard8
This commit is contained in:
parent
81c50d96fe
commit
428c8289c7
@ -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));
|
||||
|
@ -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));
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user