Fix for bug # 41555 r=pollmann. Update SH with form values on reload too.

A fallout from one of the earlier checkins. THis should also fix another
bug pollmann has.


git-svn-id: svn://10.0.0.236/trunk@72816 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
radha%netscape.com
2000-06-21 21:33:17 +00:00
parent 16b188fc34
commit 02769e6ea5

View File

@@ -1103,6 +1103,8 @@ NS_IMETHODIMP nsDocShell::Reload(PRInt32 aReloadType)
if ( aReloadType == nsIWebNavigation::reloadBypassProxyAndCache )
type = loadReloadBypassProxyAndCache;
UpdateCurrentSessionHistory();
NS_ENSURE_SUCCESS(InternalLoad(mCurrentURI, mReferrerURI, nsnull, nsnull,
nsnull, type), NS_ERROR_FAILURE);