From 4809c6de7764673eb401a961e314e72ad31d0dbd Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Mon, 5 Feb 2018 02:13:44 -0500 Subject: Use app.releaseNotesURL preference instead of a hardcoded URL in the Basilisk about box --- browser/base/content/aboutDialog.js | 4 ++++ browser/base/content/aboutDialog.xul | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'browser/base/content') 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(); diff --git a/browser/base/content/aboutDialog.xul b/browser/base/content/aboutDialog.xul index cbb07a5e1..ef2804f31 100644 --- a/browser/base/content/aboutDialog.xul +++ b/browser/base/content/aboutDialog.xul @@ -47,7 +47,7 @@ #expand #ifndef NIGHTLY_BUILD -#expand + #endif -- cgit v1.2.3