searchbar in the tab bar couldn't receive mousedown events because the event was wrongly canceled. textbox should be a clickable element which can receive mousedown events always.
This commit is contained in:
parent
6ee1bf6f9c
commit
7cd0d20f50
@ -669,7 +669,7 @@ var TreeStyleTabUtils = {
|
|||||||
isEventFiredOnClickable : function TSTUtils_isEventFiredOnClickable(aEvent)
|
isEventFiredOnClickable : function TSTUtils_isEventFiredOnClickable(aEvent)
|
||||||
{
|
{
|
||||||
return this.evaluateXPath(
|
return this.evaluateXPath(
|
||||||
'ancestor-or-self::*[contains(" button toolbarbutton scrollbar popup menupopup panel tooltip splitter ", concat(" ", local-name(), " "))]',
|
'ancestor-or-self::*[contains(" button toolbarbutton scrollbar popup menupopup panel tooltip splitter textbox ", concat(" ", local-name(), " "))]',
|
||||||
aEvent.originalTarget,
|
aEvent.originalTarget,
|
||||||
Ci.nsIDOMXPathResult.BOOLEAN_TYPE
|
Ci.nsIDOMXPathResult.BOOLEAN_TYPE
|
||||||
).booleanValue;
|
).booleanValue;
|
||||||
|
Loading…
Reference in New Issue
Block a user