If the click is not on on item in the dropdown and not in the comboxbox display area then

the click count is set to zero so the JS event doesn't get fired. If it IS over the combobox
display area then the JS event does get fired.
b=40382 r=pollmann


git-svn-id: svn://10.0.0.236/trunk@73804 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
2000-07-07 01:35:23 +00:00
parent d8ac3852c6
commit aa114453e4
3 changed files with 3 additions and 3 deletions

View File

@@ -3041,7 +3041,7 @@ nsGfxListControlFrame::MouseUp(nsIDOMEvent* aMouseEvent)
mouseEvent->clickCount = 1;
} else {
// the click was out side of the select or its dropdown
mouseEvent->clickCount = 0;
mouseEvent->clickCount = IsClickingInCombobox(aMouseEvent)?1:0;
}
} else if (mButtonDown) {
mButtonDown = PR_FALSE;