Fix for bug # 21567. Mail composer urls get in to SH. This is a regression from some of

the recent uriLoader changes. r=mscott, a=don


git-svn-id: svn://10.0.0.236/trunk@56419 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
radha%netscape.com
1999-12-22 21:35:18 +00:00
parent 9787e2f28e
commit 3d2c7b5292
2 changed files with 2 additions and 2 deletions

View File

@@ -1959,7 +1959,7 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec,
SetHistoryState(aHistoryState);
/* Add the page to session history */
if (aModifyHistory && shist) {
if (aModifyHistory && shist && (!isMail)) {
PRInt32 ret;
ret = shist->Add(spec, this);
}