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:
enndeakin%sympatico.ca
2007-12-03 16:33:45 +00:00
parent 4f5fd2178a
commit 4909ea089c
24 changed files with 133 additions and 69 deletions

View File

@@ -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();