зеркало из https://github.com/mozilla/gecko-dev.git
Bug 580486 - Allow getting back to a web survey in-case it wasn't submitted; r=dtownsend approval2.0=dtownsend
This commit is contained in:
Родитель
8945cadb22
Коммит
bc15b11dc4
|
@ -286,11 +286,9 @@ var TestPilotXulWindow = {
|
|||
let openInTab = (task.taskType == TaskConstants.TYPE_LEGACY);
|
||||
|
||||
this.addDescription(textVbox, task.title, task.summary);
|
||||
if (task.showMoreInfoLink) {
|
||||
this.addXulLink(
|
||||
textVbox, this._stringBundle.getString("testpilot.moreInfo"),
|
||||
task.defaultUrl, openInTab);
|
||||
}
|
||||
this.addXulLink(
|
||||
textVbox, this._stringBundle.getString("testpilot.moreInfo"),
|
||||
task.defaultUrl, openInTab);
|
||||
|
||||
// Create the rightmost status area, depending on status:
|
||||
let statusVbox = document.createElement("vbox");
|
||||
|
|
|
@ -166,10 +166,6 @@ var TestPilotTask = {
|
|||
return url + this._id;
|
||||
},
|
||||
|
||||
get showMoreInfoLink() {
|
||||
return true;
|
||||
},
|
||||
|
||||
// event handlers:
|
||||
|
||||
onExperimentStartup: function TestPilotTask_onExperimentStartup() {
|
||||
|
@ -1021,10 +1017,6 @@ TestPilotWebSurvey.prototype = {
|
|||
return this.infoPageUrl;
|
||||
},
|
||||
|
||||
get showMoreInfoLink() {
|
||||
return false;
|
||||
},
|
||||
|
||||
onDetailPageOpened: function TPWS_onDetailPageOpened() {
|
||||
/* Once you view the URL of the survey, we'll assume you've taken it.
|
||||
* There's no reliable way to tell whether you have or not, so let's
|
||||
|
|
Загрузка…
Ссылка в новой задаче