Commit 3a85711a authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Set loaded script ready state if binding failed.

parent 5b1affa4
......@@ -955,10 +955,10 @@ static HRESULT ScriptBSC_stop_binding(BSCallback *bsc, HRESULT result)
if(SUCCEEDED(result) && !This->script_elem)
result = E_UNEXPECTED;
if(SUCCEEDED(result)) {
if(This->script_elem->readystate == READYSTATE_LOADING)
set_script_elem_readystate(This->script_elem, READYSTATE_LOADED);
if(This->script_elem->readystate == READYSTATE_LOADING)
set_script_elem_readystate(This->script_elem, READYSTATE_LOADED);
if(SUCCEEDED(result)) {
script_file_available(This);
}else {
FIXME("binding failed %08x\n", result);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment