3.7a4pre対応準備:tabbrowserの中にないtabを考慮
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6400 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
cc3792c6e0
commit
fb7ec6225a
@ -671,7 +671,7 @@ var TreeStyleTabUtils = {
|
||||
getTabFromChild : function TSTUtils_getTabFromChild(aTab)
|
||||
{
|
||||
return this.evaluateXPath(
|
||||
'ancestor-or-self::xul:tab[ancestor::xul:tabbrowser]',
|
||||
'ancestor-or-self::xul:tab',
|
||||
aTab,
|
||||
Ci.nsIDOMXPathResult.FIRST_ORDERED_NODE_TYPE
|
||||
).singleNodeValue;
|
||||
|
Loading…
Reference in New Issue
Block a user