From 5befed23d692489e99224153e303faf260c44cc2 Mon Sep 17 00:00:00 2001 From: "rpotts%netscape.com" Date: Mon, 29 Oct 2001 06:03:27 +0000 Subject: [PATCH] bug #107097 - back/foward do not work! git-svn-id: svn://10.0.0.236/trunk@106528 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsDSURIContentListener.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/docshell/base/nsDSURIContentListener.cpp b/mozilla/docshell/base/nsDSURIContentListener.cpp index 59769cf5a5e..e8a8a0e12b8 100644 --- a/mozilla/docshell/base/nsDSURIContentListener.cpp +++ b/mozilla/docshell/base/nsDSURIContentListener.cpp @@ -94,12 +94,12 @@ nsDSURIContentListener::DoContent(const char* aContentType, if (aOpenedChannel) aOpenedChannel->GetLoadFlags(&loadFlags); - mDocShell->SetLoadType(aIsContentPreferred ? LOAD_LINK : LOAD_NORMAL); - if(loadFlags & nsIChannel::LOAD_RETARGETED_DOCUMENT_URI) { // XXX: Why does this not stop the content too? mDocShell->Stop(nsIWebNavigation::STOP_NETWORK); + + mDocShell->SetLoadType(aIsContentPreferred ? LOAD_LINK : LOAD_NORMAL); } rv = mDocShell->CreateContentViewer(aContentType, request, aContentHandler);