diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-05-29 16:01:18 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-05-29 16:01:18 -0400 |
commit | d197e65f448d0dfbb5de7ff5d09a1aceaf7620f6 (patch) | |
tree | bb86c6eeeceddf2f71166630c782d2aad033d453 /application | |
parent | cee913be919e89c2ce4dc30ac1dae2841549fdd6 (diff) | |
download | UXP-d197e65f448d0dfbb5de7ff5d09a1aceaf7620f6.tar UXP-d197e65f448d0dfbb5de7ff5d09a1aceaf7620f6.tar.gz UXP-d197e65f448d0dfbb5de7ff5d09a1aceaf7620f6.tar.lz UXP-d197e65f448d0dfbb5de7ff5d09a1aceaf7620f6.tar.xz UXP-d197e65f448d0dfbb5de7ff5d09a1aceaf7620f6.zip |
[Pale Moon] Update the check for updates menu item logic for already staged automatic updates
Diffstat (limited to 'application')
-rw-r--r-- | application/palemoon/base/content/utilityOverlay.js | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |