Issue #1081 - Restore "release notes" item in the help menu

This commit is contained in:
Matt A. Tobin 2019-05-09 15:54:49 -04:00 • committed by Roy Tam
commit 112961367a
4 changed files with 33 additions and 8 deletions

View file

@ -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.