зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1183037: Ensure that autocomplete popups can be displayed again after being dismissed the first time. r=mconley
This commit is contained in:
Родитель
5dc1ef0755
Коммит
872ca624a7
|
@ -1063,8 +1063,9 @@ nsFormFillController::MouseDown(nsIDOMEvent* aEvent)
|
|||
|
||||
bool isOpen = false;
|
||||
GetPopupOpen(&isOpen);
|
||||
if (isOpen)
|
||||
return NS_OK;
|
||||
if (isOpen) {
|
||||
return SetPopupOpen(false);
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIAutoCompleteInput> input;
|
||||
mController->GetInput(getter_AddRefs(input));
|
||||
|
|
Загрузка…
Ссылка в новой задаче