Minefieldでスプリッタ上のgrippyのクリックが期待通りに機能していなかった:コミット忘れ

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7192 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-09-13 17:52:07 +00:00
parent 433860d03e
commit 0e53ba4916

View File

@ -852,6 +852,15 @@ var TreeStyleTabUtils = {
).singleNodeValue; ).singleNodeValue;
}, },
isEventFiredOnGrippy : function TSTUtils_isEventFiredOnGrippy(aEvent)
{
return this.evaluateXPath(
'ancestor-or-self::xul:grippy',
aEvent.originalTarget,
Ci.nsIDOMXPathResult.BOOLEAN_TYPE
).booleanValue;
},
getTabFromFrame : function TSTUtils_getTabFromFrame(aFrame, aTabBrowser) getTabFromFrame : function TSTUtils_getTabFromFrame(aFrame, aTabBrowser)
{ {
var b = aTabBrowser || this.browser; var b = aTabBrowser || this.browser;