mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-25 06:10:35 +00:00
Fix for bug#197179
This commit is contained in:
parent
eb09b8f6be
commit
ce4bce4a4d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user