From d197e65f448d0dfbb5de7ff5d09a1aceaf7620f6 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 d7c8088c7..1d284ba2a 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