diff --git a/docshell/base/nsWebShell.cpp b/docshell/base/nsWebShell.cpp index a937193380d..d12116bb6e0 100644 --- a/docshell/base/nsWebShell.cpp +++ b/docshell/base/nsWebShell.cpp @@ -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)) diff --git a/webshell/src/nsWebShell.cpp b/webshell/src/nsWebShell.cpp index a937193380d..d12116bb6e0 100644 --- a/webshell/src/nsWebShell.cpp +++ b/webshell/src/nsWebShell.cpp @@ -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))