Exclude Update stuff from about:support if the updater isn't built.

This commit is contained in:
janekptacijarabaci 2017-07-30 07:44:13 +02:00 • committed by Roy Tam
commit e268676945
3 changed files with 13 additions and 10 deletions

View file

@ -37,7 +37,7 @@ var gUpdateHistory = {
var element = document.createElementNS(NS_XUL, "update");
this._view.appendChild(element);
element.name = bundle.getFormattedString("updateFullName",
[update.name, update.buildID]);
[update.name, (update.buildID ? update.buildID : "-")]);
element.type = bundle.getString("updateType_" + update.type);
element.installDate = this._formatDate(update.installDate);
if (update.detailsURL)