Bug 591573 - add support for app.support.vendor. r=enn

This commit is contained in:
Dão Gottwald 2010-10-15 11:10:27 +02:00
Родитель 577479c062
Коммит 21adbabe40
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

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