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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user