summaryrefslogtreecommitdiff
path: root/toolkit/mozapps/update
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2017-07-30 07:44:13 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-12 15:28:44 +0100
commit0f99df52d5309158c7b916581c5a79496b1844db (patch)
treeb27d38535f73a25c48fdaca78ffc929f567deecd /toolkit/mozapps/update
parent3adc70dadd03c444ae2ee87673f68cbf07dd060a (diff)
downloaduxp-0f99df52d5309158c7b916581c5a79496b1844db.tar.gz
Exclude Update stuff from about:support if the updater isn't built.
Diffstat (limited to 'toolkit/mozapps/update')
-rw-r--r--toolkit/mozapps/update/content/history.js2
1 files changed, 1 insertions, 1 deletions
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)