diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-29 13:20:49 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-29 13:20:49 +0200 |
commit | 909c3ee13f633b0fd8c4b1b7501d3896ae630f6d (patch) | |
tree | 7ba70267ddb39c423ba11847e39001807b790366 /application/palemoon/components/downloads | |
parent | 551c6ff0463b555d32c51d22163318b7204c5388 (diff) | |
download | UXP-909c3ee13f633b0fd8c4b1b7501d3896ae630f6d.tar UXP-909c3ee13f633b0fd8c4b1b7501d3896ae630f6d.tar.gz UXP-909c3ee13f633b0fd8c4b1b7501d3896ae630f6d.tar.lz UXP-909c3ee13f633b0fd8c4b1b7501d3896ae630f6d.tar.xz UXP-909c3ee13f633b0fd8c4b1b7501d3896ae630f6d.zip |
[PALEMOON] Bug 1135348 - Fix about:downloads by adding missing XPCOMUtils imports
Diffstat (limited to 'application/palemoon/components/downloads')
-rw-r--r-- | application/palemoon/components/downloads/content/allDownloadsViewOverlay.js | 2 | ||||
-rw-r--r-- | application/palemoon/components/downloads/content/downloads.js | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/application/palemoon/components/downloads/content/allDownloadsViewOverlay.js b/application/palemoon/components/downloads/content/allDownloadsViewOverlay.js index a663b6659..4830f2128 100644 --- a/application/palemoon/components/downloads/content/allDownloadsViewOverlay.js +++ b/application/palemoon/components/downloads/content/allDownloadsViewOverlay.js @@ -4,6 +4,8 @@ var { classes: Cc, interfaces: Ci, utils: Cu, results: Cr } = Components; +Cu.import("resource://gre/modules/XPCOMUtils.jsm"); + XPCOMUtils.defineLazyModuleGetter(this, "DownloadUtils", "resource://gre/modules/DownloadUtils.jsm"); XPCOMUtils.defineLazyModuleGetter(this, "DownloadsCommon", diff --git a/application/palemoon/components/downloads/content/downloads.js b/application/palemoon/components/downloads/content/downloads.js index b36b9d0fe..ee728406c 100644 --- a/application/palemoon/components/downloads/content/downloads.js +++ b/application/palemoon/components/downloads/content/downloads.js @@ -6,6 +6,8 @@ var { classes: Cc, interfaces: Ci, utils: Cu, results: Cr } = Components; +Cu.import("resource://gre/modules/XPCOMUtils.jsm"); + XPCOMUtils.defineLazyModuleGetter(this, "DownloadsCommon", "resource:///modules/DownloadsCommon.jsm"); XPCOMUtils.defineLazyModuleGetter(this, "DownloadsViewUI", |