mshtml: Added support for middle-button opening anchors in a new window.

This commit is contained in:
Jacek Caban 2012-01-27 15:56:13 +01:00 committed by Alexandre Julliard
parent bc69cba2fe
commit 61fd6c97ba
1 changed files with 3 additions and 0 deletions

View File

@ -642,6 +642,9 @@ static HRESULT HTMLAnchorElement_handle_event(HTMLDOMNode *iface, eventid_t eid,
case 0: case 0:
*prevent_default = TRUE; *prevent_default = TRUE;
return navigate_anchor(This); return navigate_anchor(This);
case 1:
*prevent_default = TRUE;
return navigate_anchor_window(This, NULL);
default: default:
*prevent_default = FALSE; *prevent_default = FALSE;
return S_OK; return S_OK;