mshtml: Allow events without event object specified and EVENT_DEFAULTLISTENER flag in dispatch_event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9acfcb0eba
commit
b692aad3b6
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue