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