mshtml: Ensure that gecko event listener is attached in attach_event.

This commit is contained in:
Jacek Caban 2010-02-11 01:20:53 +01:00 committed by Alexandre Julliard
parent 0216974a1b
commit ca9dbd736f
1 changed files with 1 additions and 1 deletions

View File

@ -1128,7 +1128,7 @@ HRESULT attach_event(event_target_t **event_target_ptr, HTMLDocument *doc, BSTR
event_target->event_table[eid]->handlers[i] = disp;
*res = VARIANT_TRUE;
return S_OK;
return ensure_nsevent_handler(doc->doc_node, eid);
}
HRESULT detach_event(event_target_t *event_target, HTMLDocument *doc, BSTR name, IDispatch *disp)