From a3352637af3e97121ca916d99982c8ec052b8904 Mon Sep 17 00:00:00 2001 From: Pale Moon Date: Sun, 26 Feb 2017 21:58:47 +0100 Subject: [PATCH] Fix buttons on about:support when not building updater. --- toolkit/content/aboutSupport.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/toolkit/content/aboutSupport.js b/toolkit/content/aboutSupport.js index f5fb31c1b1..1ae6a49179 100644 --- a/toolkit/content/aboutSupport.js +++ b/toolkit/content/aboutSupport.js @@ -643,10 +643,12 @@ function safeModeRestart() { * Set up event listeners for buttons. */ function setupEventListeners(){ +#ifdef MOZ_UPDATER $("show-update-history-button").addEventListener("click", function (event) { var prompter = Cc["@mozilla.org/updates/update-prompt;1"].createInstance(Ci.nsIUpdatePrompt); prompter.showUpdateHistory(window); }); +#endif $("reset-box-button").addEventListener("click", function (event){ ResetProfile.openConfirmationDialog(window); });