diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-28 11:12:58 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-28 11:12:58 +0200 |
commit | c99c89cb40123d9b37f0e75a9fde6141295acca9 (patch) | |
tree | 548e907458d49b6f41bf63347c0b5c4805723974 /application | |
parent | 383cb2c41e8a36439851e5c8f7fec9109196b995 (diff) | |
download | UXP-c99c89cb40123d9b37f0e75a9fde6141295acca9.tar UXP-c99c89cb40123d9b37f0e75a9fde6141295acca9.tar.gz UXP-c99c89cb40123d9b37f0e75a9fde6141295acca9.tar.lz UXP-c99c89cb40123d9b37f0e75a9fde6141295acca9.tar.xz UXP-c99c89cb40123d9b37f0e75a9fde6141295acca9.zip |
[PALEMOON] Fix a function "middleMousePaste" ("Save") in browser.js
Diffstat (limited to 'application')
-rw-r--r-- | application/palemoon/base/content/browser.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js index 5af5ed5af..6dbd9677e 100644 --- a/application/palemoon/base/content/browser.js +++ b/application/palemoon/base/content/browser.js @@ -5117,7 +5117,8 @@ function middleMousePaste(event) { lastLocationChange == gBrowser.selectedBrowser.lastLocationChange) { openUILink(data.url, event, { ignoreButton: true, - disallowInheritPrincipal: !data.mayInheritPrincipal }); + disallowInheritPrincipal: !data.mayInheritPrincipal, + initiatingDoc: event ? event.target.ownerDocument : null }); } }); |