summaryrefslogtreecommitdiff
path: root/application
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-28 11:12:58 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-28 11:12:58 +0200
commitc99c89cb40123d9b37f0e75a9fde6141295acca9 (patch)
tree548e907458d49b6f41bf63347c0b5c4805723974 /application
parent383cb2c41e8a36439851e5c8f7fec9109196b995 (diff)
downloaduxp-c99c89cb40123d9b37f0e75a9fde6141295acca9.tar.gz
[PALEMOON] Fix a function "middleMousePaste" ("Save") in browser.js
Diffstat (limited to 'application')
-rw-r--r--application/palemoon/base/content/browser.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js
index 5af5ed5af0..6dbd9677e9 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 });
}
});