зеркало из https://github.com/mozilla/gecko-dev.git
Bug 745567: Integrate bug 702284 and bug 728737 patches, r=mbrubeck a=xul-only
This commit is contained in:
Родитель
dd4fa413fa
Коммит
97c00473df
|
@ -96,7 +96,8 @@
|
|||
let Ci = Components.interfaces, Cc = Components.classes, Cu = Components.utils, Cr = Components.results;
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
// Include the build date if this is an "a#" (nightly or aurora) build
|
||||
// Include the build date and warning about Telemetry
|
||||
// if this is an "a#" (nightly or aurora) build
|
||||
#expand const version = "__MOZ_APP_VERSION__";
|
||||
if (/a\d+$/.test(version)) {
|
||||
let buildID = Services.appinfo.appBuildID;
|
||||
|
@ -106,6 +107,7 @@
|
|||
versionPara.appendChild(br);
|
||||
let date = document.createTextNode("(" + buildDate + ")");
|
||||
versionPara.appendChild(date);
|
||||
document.getElementById("aboutTelemetry").hidden = false;
|
||||
}
|
||||
|
||||
// get URLs from prefs
|
||||
|
@ -248,12 +250,6 @@
|
|||
}, 2000);
|
||||
}
|
||||
#endif
|
||||
// Display warning about telemetry
|
||||
// if this is an "a#" (Nightly or Aurora) build
|
||||
let version = Services.appinfo.version;
|
||||
if (/a\d+$/.test(version)) {
|
||||
document.getElementById("aboutTelemetry").hidden = false;
|
||||
}
|
||||
]]></script>
|
||||
</div>
|
||||
</body>
|
||||
|
|
Загрузка…
Ссылка в новой задаче