summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/utilityOverlay.js
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-05-09 15:54:49 -0400
committerMatt A. Tobin <email@mattatobin.com>2019-05-09 15:54:49 -0400
commit95607bd727f6a538d539f14f51a55b5a4f902427 (patch)
treeb55db96fee9b87a7cf0afe238430f6d6ef4cb50c /application/palemoon/base/content/utilityOverlay.js
parent5d119ce85efb17b6f9b4dff60e937f1312e717b3 (diff)
downloadUXP-95607bd727f6a538d539f14f51a55b5a4f902427.tar
UXP-95607bd727f6a538d539f14f51a55b5a4f902427.tar.gz
UXP-95607bd727f6a538d539f14f51a55b5a4f902427.tar.lz
UXP-95607bd727f6a538d539f14f51a55b5a4f902427.tar.xz
UXP-95607bd727f6a538d539f14f51a55b5a4f902427.zip
Issue #1081 - Restore "release notes" item in the help menu
Diffstat (limited to 'application/palemoon/base/content/utilityOverlay.js')
-rw-r--r--application/palemoon/base/content/utilityOverlay.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/application/palemoon/base/content/utilityOverlay.js b/application/palemoon/base/content/utilityOverlay.js
index 6ba634a58..e0f841a06 100644
--- a/application/palemoon/base/content/utilityOverlay.js
+++ b/application/palemoon/base/content/utilityOverlay.js
@@ -703,6 +703,18 @@ function openAdvancedPreferences(tabID)
}
/**
+ * Opens the release notes page for this version of the application.
+ */
+function openReleaseNotes()
+{
+ var relnotesURL = Components.classes["@mozilla.org/toolkit/URLFormatterService;1"]
+ .getService(Components.interfaces.nsIURLFormatter)
+ .formatURLPref("app.releaseNotesURL");
+
+ openUILinkIn(relnotesURL, "tab");
+}
+
+/**
* Opens the troubleshooting information (about:support) page for this version
* of the application.
*/