Bug 1183037: Ensure that autocomplete popups can be displayed again after being dismissed the first time. r=mconley
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user