mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 405541 - Location Bar don't revert back to the correct url of the tab when you middle click go after entering text, to open in a new tab. r=dao
This commit is contained in:
parent
7e5bd17af2
commit
994a73d975
@ -272,8 +272,13 @@
|
|||||||
if (aTriggeringEvent instanceof MouseEvent) {
|
if (aTriggeringEvent instanceof MouseEvent) {
|
||||||
// We have a mouse event (from the go button), so use the standard
|
// We have a mouse event (from the go button), so use the standard
|
||||||
// UI link behaviors
|
// UI link behaviors
|
||||||
openUILink(url, aTriggeringEvent, false, false,
|
let where = whereToOpenLink(aTriggeringEvent, false, false);
|
||||||
true /* allow third party fixup */, postData);
|
if (where != "current") {
|
||||||
|
this.handleRevert();
|
||||||
|
content.focus();
|
||||||
|
}
|
||||||
|
openUILinkIn(url, where,
|
||||||
|
{ allowThirdPartyFixup: true, postData: postData });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user