summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2021-06-22 01:54:11 -0400
committerMatt A. Tobin <email@mattatobin.com>2021-06-22 01:54:11 -0400
commit604fc95340d90d5c973478ac142f49667013f61e (patch)
treeae6bccb307e75e1adb89c43ac04ef0ec86193a84 /toolkit
parenta60cfaa741da895544292d9c4a06beb60c438972 (diff)
downloadaura-central-604fc95340d90d5c973478ac142f49667013f61e.tar.gz
[Toolkit] Attempt to initialize DownloadTaskbarProgress when onDownloadWindowLoad() is called so that DownloadTaskbarProgress from the Downloads Manager window works when the application doesn't explicitly invoke onBrowserWindowLoad().
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/mozapps/downloads/DownloadTaskbarProgress.jsm1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolkit/mozapps/downloads/DownloadTaskbarProgress.jsm b/toolkit/mozapps/downloads/DownloadTaskbarProgress.jsm
index e015ded2a..0264005e0 100644
--- a/toolkit/mozapps/downloads/DownloadTaskbarProgress.jsm
+++ b/toolkit/mozapps/downloads/DownloadTaskbarProgress.jsm
@@ -58,6 +58,7 @@ this.DownloadTaskbarProgress =
*/
onDownloadWindowLoad: function DTP_onDownloadWindowLoad(aWindow)
{
+ this.init();
if (!DownloadTaskbarProgressUpdater) {
return;
}