From 95607bd727f6a538d539f14f51a55b5a4f902427 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Thu, 9 May 2019 15:54:49 -0400 Subject: Issue #1081 - Restore "release notes" item in the help menu --- application/palemoon/base/content/utilityOverlay.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'application/palemoon/base/content/utilityOverlay.js') 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 @@ -702,6 +702,18 @@ function openAdvancedPreferences(tabID) openPreferences("paneAdvanced", { "advancedTab" : 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. -- cgit v1.2.3