mshtml: Move document binding to the new document binding list in on_start_nsrequest.

This commit is contained in:
Jacek Caban 2011-05-13 18:17:59 +02:00 committed by Alexandre Julliard
parent 0c45c8b58e
commit d7a2da5730
1 changed files with 3 additions and 0 deletions

View File

@ -973,9 +973,12 @@ static HRESULT on_start_nsrequest(nsChannelBSC *This)
}
if(This->window) {
list_remove(&This->bsc.entry);
list_init(&This->bsc.entry);
update_window_doc(This->window);
if(This->window->doc != This->bsc.doc)
This->bsc.doc = This->window->doc;
list_add_head(&This->bsc.doc->bindings, &This->bsc.entry);
if(This->window->readystate != READYSTATE_LOADING)
set_ready_state(This->window, READYSTATE_LOADING);
}