Fix for bug 4559 in the Necko builds. Earlier this code change was made in code that affected non-Necko builds.

git-svn-id: svn://10.0.0.236/trunk@41325 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nisheeth%netscape.com
1999-07-27 21:21:13 +00:00
parent e7d95d902e
commit 63d63ffe02
2 changed files with 4 additions and 2 deletions

View File

@@ -1842,7 +1842,8 @@ nsWebShell::DoLoadURL(const nsString& aUrlSpec,
// If it's a normal reload that uses the cache, look at the destination anchor
// and see if it's an element within the current document
#ifdef NECKO
if ((aType == nsIChannel::LOAD_NORMAL) && (nsnull != mContentViewer))
if ((aType == nsIChannel::LOAD_NORMAL) && (nsnull != mContentViewer) &&
(nsnull == aPostData))
#else
if ((aType == nsURLReload || aType == nsURLReloadFromHistory) &&
(nsnull != mContentViewer) && (nsnull == aPostData))