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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user