bug #107097 - back/foward do not work!

git-svn-id: svn://10.0.0.236/trunk@106528 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rpotts%netscape.com
2001-10-29 06:03:27 +00:00
parent 87fff34258
commit 5befed23d6

View File

@@ -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);