mshtml: Added IHTMLFormElement::submit implementation.

This commit is contained in:
Jacek Caban 2012-04-06 14:58:53 +02:00 committed by Alexandre Julliard
parent 5c85f96f33
commit 0067b9505e
1 changed files with 11 additions and 2 deletions

View File

@ -361,8 +361,17 @@ static HRESULT WINAPI HTMLFormElement_get_onreset(IHTMLFormElement *iface, VARIA
static HRESULT WINAPI HTMLFormElement_submit(IHTMLFormElement *iface)
{
HTMLFormElement *This = impl_from_IHTMLFormElement(iface);
FIXME("(%p)->()\n", This);
return E_NOTIMPL;
nsresult nsres;
TRACE("(%p)->()\n", This);
nsres = nsIDOMHTMLFormElement_Submit(This->nsform);
if(NS_FAILED(nsres)) {
ERR("Submit failed: %08x\n", nsres);
return E_FAIL;
}
return S_OK;
}
static HRESULT WINAPI HTMLFormElement_reset(IHTMLFormElement *iface)