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.
This commit is contained in:
radha%netscape.com 2000-06-21 21:33:17 +00:00
parent 0cedf9810a
commit 240f0e40f5

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);