mshtml: Set loaded script ready state if binding failed.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5b1affa446
commit
3a85711a98
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue