From 9caf3431cdc73cf69f967dcc45757f389a34e065 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 13 Jul 2012 14:45:19 +0200 Subject: [PATCH] mshtml: Added HTMLInputElement::onchange implementation. --- dlls/mshtml/htmlinput.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/dlls/mshtml/htmlinput.c b/dlls/mshtml/htmlinput.c index 27b1b4711d1..f4f513c09cf 100644 --- a/dlls/mshtml/htmlinput.c +++ b/dlls/mshtml/htmlinput.c @@ -303,15 +303,19 @@ static HRESULT WINAPI HTMLInputElement_select(IHTMLInputElement *iface) static HRESULT WINAPI HTMLInputElement_put_onchange(IHTMLInputElement *iface, VARIANT v) { HTMLInputElement *This = impl_from_IHTMLInputElement(iface); - FIXME("(%p)->()\n", This); - return E_NOTIMPL; + + TRACE("(%p)->()\n", This); + + return set_node_event(&This->element.node, EVENTID_CHANGE, &v); } static HRESULT WINAPI HTMLInputElement_get_onchange(IHTMLInputElement *iface, VARIANT *p) { HTMLInputElement *This = impl_from_IHTMLInputElement(iface); - FIXME("(%p)->(%p)\n", This, p); - return E_NOTIMPL; + + TRACE("(%p)->(%p)\n", This, p); + + return get_node_event(&This->element.node, EVENTID_CHANGE, p); } static HRESULT WINAPI HTMLInputElement_put_onselect(IHTMLInputElement *iface, VARIANT v) -- 2.11.4.GIT