Bug 401627, better way of handling click to close menu so that it doesn't reopen the menu again, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@240313 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1301,8 +1301,11 @@ nsComboboxControlFrame::GetAdditionalChildListName(PRInt32 aIndex) const
|
||||
//nsIRollupListener
|
||||
//----------------------------------------------------------------------
|
||||
NS_IMETHODIMP
|
||||
nsComboboxControlFrame::Rollup()
|
||||
nsComboboxControlFrame::Rollup(nsIContent** aLastRolledUp)
|
||||
{
|
||||
if (aLastRolledUp)
|
||||
*aLastRolledUp = nsnull;
|
||||
|
||||
if (mDroppedDown) {
|
||||
nsWeakFrame weakFrame(this);
|
||||
mListControlFrame->AboutToRollup(); // might destroy us
|
||||
|
||||
Reference in New Issue
Block a user