summaryrefslogtreecommitdiffstats
path: root/browser/base/content/aboutDialog.js
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-02-05 02:13:44 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-02-05 02:13:44 -0500
commit4809c6de7764673eb401a961e314e72ad31d0dbd (patch)
treed6ae0a2b9fdc36c4635b09abe0728f89532e3bb6 /browser/base/content/aboutDialog.js
parent7c60bb11f56d323ea1e9ee3662786931f4d8318b (diff)
downloadUXP-4809c6de7764673eb401a961e314e72ad31d0dbd.tar
UXP-4809c6de7764673eb401a961e314e72ad31d0dbd.tar.gz
UXP-4809c6de7764673eb401a961e314e72ad31d0dbd.tar.lz
UXP-4809c6de7764673eb401a961e314e72ad31d0dbd.tar.xz
UXP-4809c6de7764673eb401a961e314e72ad31d0dbd.zip
Use app.releaseNotesURL preference instead of a hardcoded URL in the Basilisk about box
Diffstat (limited to 'browser/base/content/aboutDialog.js')
-rw-r--r--browser/base/content/aboutDialog.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/browser/base/content/aboutDialog.js b/browser/base/content/aboutDialog.js
index 569a65adb..b024d2d52 100644
--- a/browser/base/content/aboutDialog.js
+++ b/browser/base/content/aboutDialog.js
@@ -62,6 +62,10 @@ function init(aEvent)
let arch = bundle.GetStringFromName(archResource);
versionField.textContent += ` (${arch})`;
+ // Get Release Notes URL from Preferences
+ let releaseNotesURL = Services.prefs.getCharPref("app.releaseNotesURL");
+ document.getElementById("releasenotes").setAttribute("href", releaseNotesURL);
+
if (AppConstants.MOZ_UPDATER) {
gAppUpdater = new appUpdater();