mshtml: Skip travellog notifications for frame navigation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2015-11-13 12:21:21 +01:00 committed by Alexandre Julliard
parent df096e6b60
commit 4354bc831f
1 changed files with 6 additions and 2 deletions

View File

@ -128,8 +128,12 @@ void set_current_mon(HTMLOuterWindow *This, IMoniker *mon, DWORD flags)
HRESULT hres; HRESULT hres;
if(This->mon) { if(This->mon) {
if(This->doc_obj && !(flags & (BINDING_REPLACE|BINDING_REFRESH))) if(This->doc_obj && !(flags & (BINDING_REPLACE|BINDING_REFRESH))) {
notify_travellog_update(This->doc_obj); if(This == This->doc_obj->basedoc.window)
notify_travellog_update(This->doc_obj);
else
TRACE("Skipping travellog update for frame navigation.\n");
}
IMoniker_Release(This->mon); IMoniker_Release(This->mon);
This->mon = NULL; This->mon = NULL;
} }