From 0f99df52d5309158c7b916581c5a79496b1844db Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Sun, 30 Jul 2017 07:44:13 +0200 Subject: Exclude Update stuff from about:support if the updater isn't built. --- toolkit/mozapps/update/content/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit/mozapps/update') diff --git a/toolkit/mozapps/update/content/history.js b/toolkit/mozapps/update/content/history.js index 32a098de53..c5bbccefcf 100644 --- a/toolkit/mozapps/update/content/history.js +++ b/toolkit/mozapps/update/content/history.js @@ -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) -- cgit v1.2.3