зеркало из 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) {
|
else if (GetContextType() != IconCX && GetContextType() != Pane) {
|
||||||
MWContext* pNewContext = SwitchToBrowserContext(pUrl);
|
// Make this conditional like non MOZ_MAIL_NEWS code below.
|
||||||
return MK_CHANGING_CONTEXT;
|
if( bForceNew && EDT_IS_EDITOR(GetContext()) ) {
|
||||||
|
MWContext* pNewContext = SwitchToBrowserContext(pUrl);
|
||||||
|
return MK_CHANGING_CONTEXT;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Загрузка…
Ссылка в новой задаче