Fix for bug#197179

git-svn-id: svn://10.0.0.236/trunk@5531 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
law 1998-07-14 23:11:05 +00:00
parent 00cf93dbea
commit 1a1678d85a

View File

@ -627,8 +627,11 @@ int CAbstractCX::GetUrl(URL_Struct *pUrl, FO_Present_Types iFormatOut, BOOL bRea
}
}
else if (GetContextType() != IconCX && GetContextType() != Pane) {
MWContext* pNewContext = SwitchToBrowserContext(pUrl);
return MK_CHANGING_CONTEXT;
// Make this conditional like non MOZ_MAIL_NEWS code below.
if( bForceNew && EDT_IS_EDITOR(GetContext()) ) {
MWContext* pNewContext = SwitchToBrowserContext(pUrl);
return MK_CHANGING_CONTEXT;
}
}
}
#else