Fix for bug #8990
git-svn-id: svn://10.0.0.236/trunk@38523 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -777,6 +777,9 @@ void nsWebShellWindow::LoadSubMenu(
|
||||
pnsMenu->Create(supports, menuName);
|
||||
NS_RELEASE(supports); // Balance QI
|
||||
|
||||
// Open the node so that the contents are visible.
|
||||
menuElement->SetAttribute("open", "true");
|
||||
|
||||
// Set nsMenu Name
|
||||
pnsMenu->SetLabel(menuName);
|
||||
// Make nsMenu a child of parent nsMenu
|
||||
@@ -906,7 +909,7 @@ void nsWebShellWindow::DynamicLoadMenus(nsIDOMDocument * aDOMDoc, nsIWidget * aP
|
||||
} // end if ( nsnull != pnsMenuBar )
|
||||
}
|
||||
} // end if (menuBar)
|
||||
} // nsWebShellWindow::LoadMenus
|
||||
} // nsWebShellWindow::DynamicLoadMenus
|
||||
|
||||
//----------------------------------------
|
||||
void nsWebShellWindow::LoadMenus(nsIDOMDocument * aDOMDoc, nsIWidget * aParentWindow)
|
||||
|
||||
Reference in New Issue
Block a user