зеркало из https://github.com/mozilla/pjs.git
Pass url load type LOAD_HISTORY when loading a url due to a back or forward button click
This commit is contained in:
Родитель
434b77186d
Коммит
ffa156c692
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче