mshtml: Call setup_nswindow on load event.

This commit is contained in:
Jacek Caban 2007-08-15 12:40:19 +02:00 committed by Alexandre Julliard
parent 7e79b5656e
commit 865d92a6e4
1 changed files with 2 additions and 0 deletions

View File

@ -136,6 +136,8 @@ static nsresult NSAPI handle_load(nsIDOMEventListener *iface, nsIDOMEvent *event
if(!This->doc)
return NS_OK;
setup_nswindow(This->doc->window);
if(This->editor_controller) {
nsIController_Release(This->editor_controller);
This->editor_controller = NULL;