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

This commit is contained in:
Rob Shearman 2007-07-24 17:07:10 -05:00 committed by Alexandre Julliard
parent fbdc76aaf7
commit addc9957af

View File

@ -815,6 +815,11 @@ HRESULT start_binding(BSCallback *bscallback)
IMoniker_Release(bscallback->mon);
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;
}