From a54972be49e3b8869bf2c212756753bb7873087c Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Wed, 29 May 2019 16:01:18 -0400 Subject: [Pale Moon] Update the check for updates menu item logic for already staged automatic updates --- application/palemoon/base/content/utilityOverlay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/palemoon') diff --git a/application/palemoon/base/content/utilityOverlay.js b/application/palemoon/base/content/utilityOverlay.js index 98a542c75..cd1715b2e 100644 --- a/application/palemoon/base/content/utilityOverlay.js +++ b/application/palemoon/base/content/utilityOverlay.js @@ -558,7 +558,7 @@ function checkForUpdates() // If there's an update ready to be applied, show the "Update Downloaded" // UI instead and let the user know they have to restart the application for // the changes to be applied. - if (um.activeUpdate && um.activeUpdate.state == "pending") + if (um.activeUpdate && ["pending", "pending-elevate", "applied"].includes(um.activeUpdate.state)) prompter.showUpdateDownloaded(um.activeUpdate); else prompter.checkForUpdates(); -- cgit v1.2.3