зеркало из https://github.com/mozilla/pjs.git
bug 283777 fix right-arrow selection regression in autocomplete r=mconnor, a=chase
This commit is contained in:
Родитель
861253a7b4
Коммит
81d97c7ee2
|
@ -424,9 +424,8 @@ nsAutoCompleteController::HandleKeyNavigation(PRUint16 aKey, PRBool *_retval)
|
|||
} else if (aKey == nsIAutoCompleteController::KEY_LEFT ||
|
||||
aKey == nsIAutoCompleteController::KEY_RIGHT)
|
||||
{
|
||||
// When the user arrows to the side, close the popup
|
||||
ClearSearchTimer();
|
||||
ClosePopup();
|
||||
// When the user arrows to the side select that value and close the popup
|
||||
HandleEnter(_retval);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче