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 | 117b71444364b95c20c194846184b74abebbf652 (patch) | |
tree | 61211a8201b301e84a56220951d201e904365581 /toolkit/mozapps | |
parent | 0fe80479b8d922184b59ff716496266762493352 (diff) | |
download | uxp-117b71444364b95c20c194846184b74abebbf652.tar.gz |
Show the update UI instantly instead of after 10 minutes of inactivity
Diffstat (limited to 'toolkit/mozapps')
-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 64eb995a2e..dca0a007eb 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); }, /** |