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:
parent
df096e6b60
commit
4354bc831f
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue