From 7cd0d20f5088473abb18d7757f95a56d61b70ec1 Mon Sep 17 00:00:00 2001 From: Piro / SHIMODA Hiroshi Date: Fri, 18 Mar 2011 21:48:54 +0900 Subject: [PATCH] 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. --- modules/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/utils.js b/modules/utils.js index 4bdc8ba1..90a9d333 100644 --- a/modules/utils.js +++ b/modules/utils.js @@ -669,7 +669,7 @@ var TreeStyleTabUtils = { isEventFiredOnClickable : function TSTUtils_isEventFiredOnClickable(aEvent) { 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, Ci.nsIDOMXPathResult.BOOLEAN_TYPE ).booleanValue;