diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-05-29 15:59:36 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-05-29 15:59:36 -0400 |
commit | cee913be919e89c2ce4dc30ac1dae2841549fdd6 (patch) | |
tree | 61211a8201b301e84a56220951d201e904365581 /toolkit/mozapps/update/nsUpdateService.js | |
parent | fb1b45e5fcb82e76e303665fbb9d04fb2a800b31 (diff) | |
download | UXP-cee913be919e89c2ce4dc30ac1dae2841549fdd6.tar UXP-cee913be919e89c2ce4dc30ac1dae2841549fdd6.tar.gz UXP-cee913be919e89c2ce4dc30ac1dae2841549fdd6.tar.lz UXP-cee913be919e89c2ce4dc30ac1dae2841549fdd6.tar.xz UXP-cee913be919e89c2ce4dc30ac1dae2841549fdd6.zip |
Show the update UI instantly instead of after 10 minutes of inactivity
Diffstat (limited to 'toolkit/mozapps/update/nsUpdateService.js')
-rw-r--r-- | toolkit/mozapps/update/nsUpdateService.js | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/toolkit/mozapps/update/nsUpdateService.js b/toolkit/mozapps/update/nsUpdateService.js index 64eb995a2..dca0a007e 100644 --- a/toolkit/mozapps/update/nsUpdateService.js +++ b/toolkit/mozapps/update/nsUpdateService.js @@ -3498,8 +3498,8 @@ UpdatePrompt.prototype = { return; } - this._showUnobtrusiveUI(null, URI_UPDATE_PROMPT_DIALOG, null, - UPDATE_WINDOW_NAME, "updatesavailable", update); + this._showUI(null, URI_UPDATE_PROMPT_DIALOG, null, + UPDATE_WINDOW_NAME, "updatesavailable", update); }, /** @@ -3515,13 +3515,8 @@ UpdatePrompt.prototype = { if (this._getAltUpdateWindow()) return; - if (background) { - this._showUnobtrusiveUI(null, URI_UPDATE_PROMPT_DIALOG, null, - UPDATE_WINDOW_NAME, "finishedBackground", update); - } else { - this._showUI(null, URI_UPDATE_PROMPT_DIALOG, null, - UPDATE_WINDOW_NAME, "finishedBackground", update); - } + this._showUI(null, URI_UPDATE_PROMPT_DIALOG, null, + UPDATE_WINDOW_NAME, "finishedBackground", update); }, /** |