diff options
author | Matt A. Tobin <email@mattatobin.com> | 2021-06-22 01:54:11 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2021-06-22 01:54:11 -0400 |
commit | 914afe4f97326ffb7e562eef26f120f4f8e98318 (patch) | |
tree | ae6bccb307e75e1adb89c43ac04ef0ec86193a84 /toolkit/mozapps | |
parent | 6de661e29d563fe2ba4622738684359ee67dcb3e (diff) | |
download | uxp-914afe4f97326ffb7e562eef26f120f4f8e98318.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.jsm | 1 |
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; } |