Commit b692aad3 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Allow events without event object specified and EVENT_DEFAULTLISTENER…

mshtml: Allow events without event object specified and EVENT_DEFAULTLISTENER flag in dispatch_event. Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 9acfcb0e
......@@ -1284,11 +1284,6 @@ HRESULT dispatch_event(HTMLDOMNode *node, const WCHAR *event_name, VARIANT *even
if(FAILED(hres))
return hres;
}else {
if(!(event_info[eid].flags & EVENT_DEFAULTLISTENER)) {
FIXME("not EVENT_DEFAULTEVENTHANDLER\n");
return E_NOTIMPL;
}
fire_event(node->doc, eid, TRUE, node->nsnode, NULL, NULL);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment