mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 903022 - Parent save-as file pickers to the browser window rather than the content window. r=gavin
This commit is contained in:
parent
9a24fd35ae
commit
e5f32bb35c
@ -1160,13 +1160,13 @@ nsContextMenu.prototype = {
|
||||
return;
|
||||
}
|
||||
|
||||
var extHelperAppSvc =
|
||||
let extHelperAppSvc =
|
||||
Cc["@mozilla.org/uriloader/external-helper-app-service;1"].
|
||||
getService(Ci.nsIExternalHelperAppService);
|
||||
var channel = aRequest.QueryInterface(Ci.nsIChannel);
|
||||
this.extListener =
|
||||
let channel = aRequest.QueryInterface(Ci.nsIChannel);
|
||||
this.extListener =
|
||||
extHelperAppSvc.doContent(channel.contentType, aRequest,
|
||||
doc.defaultView, true);
|
||||
doc.defaultView, true, window);
|
||||
this.extListener.onStartRequest(aRequest, aContext);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user