Bug 1183037: Ensure that autocomplete popups can be displayed again after being dismissed the first time. r=mconley

This commit is contained in:
Stephen A Pohl
2016-10-24 11:46:16 -04:00
parent e3b8ebc46e
commit 4a4e7b41cf

View File

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