From addc9957afa5091d0a563c8d7ffea379bfdac7b5 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Tue, 24 Jul 2007 17:07:10 -0500 Subject: [PATCH] mshtml: Events are reset when a new document URI is loaded, so re-initialise them in start_binding. --- dlls/mshtml/navigate.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/mshtml/navigate.c b/dlls/mshtml/navigate.c index 3e05fdc84de..76fd5f257f5 100644 --- a/dlls/mshtml/navigate.c +++ b/dlls/mshtml/navigate.c @@ -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; } -- 2.11.4.GIT