Bug 431802: node_child_of accessible relation returns wrong object on autocomplete list items, patch by surkov.alexander@gmail.com, r=neil, a=schrep

This commit is contained in:
gavin@gavinsharp.com 2008-05-10 07:54:42 -07:00
parent 05389597fd
commit 59840b51f7

View File

@ -819,7 +819,7 @@ nsAutoCompleteController::GetLevel(PRInt32 index, PRInt32 *_retval)
NS_IMETHODIMP
nsAutoCompleteController::GetParentIndex(PRInt32 rowIndex, PRInt32 *_retval)
{
*_retval = 0;
*_retval = -1;
return NS_OK;
}