зеркало из https://github.com/mozilla/pjs.git
r=mkaply, sr=blizzard (platform specific), a=mkaply Lost OS/2 only #ifdef change from pedemonte to make us like Windows
This commit is contained in:
Родитель
e42362f233
Коммит
d57166766b
|
@ -1376,7 +1376,7 @@ NS_IMETHODIMP nsMenuPopupFrame::ConsumeOutsideClicks(PRBool& aConsumeOutsideClic
|
|||
if (parentTag == nsXULAtoms::menulist)
|
||||
return NS_OK; // Consume outside clicks for combo boxes on all platforms
|
||||
if (parentTag == nsXULAtoms::menu || parentTag == nsXULAtoms::popupset) {
|
||||
#ifdef XP_WIN
|
||||
#if defined(XP_WIN) || defined(XP_OS2)
|
||||
// Don't consume outside clicks for menus in Windows
|
||||
aConsumeOutsideClicks = PR_FALSE;
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче