From b692aad3b6d1e59361bff5172121e3f71fbaa534 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 4 Apr 2016 13:20:04 +0200 Subject: [PATCH] mshtml: Allow events without event object specified and EVENT_DEFAULTLISTENER flag in dispatch_event. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/mshtml/htmlevent.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dlls/mshtml/htmlevent.c b/dlls/mshtml/htmlevent.c index df2d9a43e28..8c60ee989ae 100644 --- a/dlls/mshtml/htmlevent.c +++ b/dlls/mshtml/htmlevent.c @@ -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); }