summaryrefslogtreecommitdiff
path: root/toolkit/mozapps
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
commit4490f61f580237de9f7d1f81ddff214f1c0fb035 (patch)
treeae6bccb307e75e1adb89c43ac04ef0ec86193a84 /toolkit/mozapps
parent1fe9c19305dadf2d5bcaa0e589fcd250389dfa8a (diff)
downloaduxp-4490f61f580237de9f7d1f81ddff214f1c0fb035.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/mozapps')
-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 e015ded2a1..0264005e0d 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;
}