Commit addc9957 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

mshtml: Events are reset when a new document URI is loaded, so re-initialise them in start_binding.

parent fbdc76aa
...@@ -815,6 +815,11 @@ HRESULT start_binding(BSCallback *bscallback) ...@@ -815,6 +815,11 @@ HRESULT start_binding(BSCallback *bscallback)
IMoniker_Release(bscallback->mon); IMoniker_Release(bscallback->mon);
bscallback->mon = NULL; bscallback->mon = NULL;
/* events are reset when a new document URI is loaded, so re-initialise them here */
if(bscallback->doc && bscallback->doc->nscontainer)
init_nsevents(bscallback->doc->nscontainer);
return S_OK; return S_OK;
} }
......
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