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

This commit is contained in:
radha%netscape.com 1999-08-04 22:44:59 +00:00
Родитель 434b77186d
Коммит ffa156c692
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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