зеркало из https://github.com/mozilla/pjs.git
Bug 591573 - add support for app.support.vendor. r=enn
This commit is contained in:
Родитель
577479c062
Коммит
21adbabe40
|
@ -90,9 +90,14 @@ window.onload = function () {
|
|||
|
||||
// Update the application basics section.
|
||||
document.getElementById("application-box").textContent = Services.appinfo.name;
|
||||
document.getElementById("version-box").textContent = Services.appinfo.version;
|
||||
document.getElementById("useragent-box").textContent = navigator.userAgent;
|
||||
document.getElementById("supportLink").href = supportUrl;
|
||||
let version = Services.appinfo.version;
|
||||
try {
|
||||
version += " (" + Services.prefs.getCharPref("app.support.vendor") + ")";
|
||||
} catch (e) {
|
||||
}
|
||||
document.getElementById("version-box").textContent = version;
|
||||
|
||||
// Update the other sections.
|
||||
populatePreferencesSection();
|
||||
|
|
Загрузка…
Ссылка в новой задаче