diff options
Diffstat (limited to 'toolkit/components/apppicker')
-rw-r--r-- | toolkit/components/apppicker/content/appPicker.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/toolkit/components/apppicker/content/appPicker.js b/toolkit/components/apppicker/content/appPicker.js index dc2a97af8c..dd1163d1b4 100644 --- a/toolkit/components/apppicker/content/appPicker.js +++ b/toolkit/components/apppicker/content/appPicker.js @@ -195,7 +195,11 @@ AppPicker.prototype = { var nsIFilePicker = Ci.nsIFilePicker; var fp = Cc["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker); - fp.init(window, this._incomingParams.title, nsIFilePicker.modeOpen); + fp.init( + window.browsingContext, + this._incomingParams.title, + nsIFilePicker.modeOpen + ); fp.appendFilters(nsIFilePicker.filterApps); var startLocation; |