| Index: lib/ui.js |
| =================================================================== |
| --- a/lib/ui.js |
| +++ b/lib/ui.js |
| @@ -794,17 +794,17 @@ let UI = exports.UI = |
| { |
| let uri = this.getCurrentLocation(window); |
| if (uri) |
| { |
| let {getBrowser} = require("appSupport"); |
| let browser = getBrowser(window); |
| if ("selectedBrowser" in browser) |
| browser = browser.selectedBrowser; |
| - window.openDialog("chrome://adblockplus/content/ui/sendReport.xul", "_blank", "chrome,centerscreen,resizable=no", browser.contentWindow, uri, browser); |
| + window.openDialog("chrome://adblockplus/content/ui/sendReport.xul", "_blank", "chrome,centerscreen,resizable=no", browser.outerWindowID, uri, browser); |
| } |
| } |
| }, |
| /** |
| * Opens our contribution page. |
| */ |
| openContributePage: function(/**Window*/ window) |