зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug#197179
This commit is contained in:
Родитель
eb09b8f6be
Коммит
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче