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:
@@ -657,8 +657,11 @@ nsAutoCompleteController::OnSearchResult(nsIAutoCompleteSearch *aSearch, nsIAuto
|
||||
//// nsIRollupListener
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsAutoCompleteController::Rollup()
|
||||
nsAutoCompleteController::Rollup(nsIContent** aLastRolledUp)
|
||||
{
|
||||
if (aLastRolledUp)
|
||||
*aLastRolledUp = nsnull;
|
||||
|
||||
ClearSearchTimer();
|
||||
ClearResults();
|
||||
ClosePopup();
|
||||
|
||||
Reference in New Issue
Block a user