Bug 396799 Menus on the Application menu bar sometimes claim to be menuitems r=enndeakin, aaronleventhal sr=neil a=dsicore
This commit is contained in:
@@ -1539,7 +1539,7 @@ nsMenuPopupFrame::AttributeChanged(PRInt32 aNameSpaceID,
|
||||
if (aAttribute == nsGkAtoms::menugenerated &&
|
||||
mFrames.IsEmpty() && !mGeneratedChildren) {
|
||||
PresContext()->PresShell()->FrameConstructor()->
|
||||
AddLazyChildren(mContent, LazyGeneratePopupDone, nsnull);
|
||||
AddLazyChildren(mContent, LazyGeneratePopupDone, nsnull, PR_TRUE);
|
||||
}
|
||||
|
||||
return rv;
|
||||
|
||||
Reference in New Issue
Block a user