mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
Bug 767840 - Let middleMousePaste call openUILink instead of whereToOpenLink and openUILinkIn. r=gavin
This commit is contained in:
parent
82e2e4380e
commit
4f428d288f
@ -5261,10 +5261,9 @@ function middleMousePaste(event) {
|
||||
Cu.reportError(ex);
|
||||
}
|
||||
|
||||
// FIXME: Bug 631500, use openUILink directly
|
||||
let where = whereToOpenLink(event, true);
|
||||
openUILinkIn(url, where,
|
||||
{ disallowInheritPrincipal: !mayInheritPrincipal.value });
|
||||
openUILink(url, event,
|
||||
{ ignoreButton: true,
|
||||
disallowInheritPrincipal: !mayInheritPrincipal.value });
|
||||
|
||||
event.stopPropagation();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user