Pass url load type LOAD_HISTORY when loading a url due to a back or forward button click

git-svn-id: svn://10.0.0.236/trunk@42221 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
radha%netscape.com
1999-08-04 22:44:59 +00:00
parent 892c5d155a
commit 7ce7726d0d

View File

@@ -468,7 +468,7 @@ nsHistoryEntry::Load(nsIWebShell * aPrevEntry, PRBool aIsReload) {
PRInt32 ccount=0;
prev->GetChildCount(ccount);
prev->LoadURL(cURL, nsnull, PR_FALSE);
prev->LoadURL(cURL, nsnull, PR_FALSE, (nsLoadFlags) LOAD_HISTORY);
if (aIsReload && (ccount > 0)) {
/* If this is a reload, on a page with frames, you want to return
* true so that consecutive calls by the frame children in to