From fb7ec6225a16e4972dca43b793209399efd6785e Mon Sep 17 00:00:00 2001 From: piro Date: Tue, 23 Mar 2010 15:12:43 +0000 Subject: [PATCH] =?UTF-8?q?3.7a4pre=E5=AF=BE=E5=BF=9C=E6=BA=96=E5=82=99?= =?UTF-8?q?=EF=BC=9Atabbrowser=E3=81=AE=E4=B8=AD=E3=81=AB=E3=81=AA?= =?UTF-8?q?=E3=81=84tab=E3=82=92=E8=80=83=E6=85=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6400 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- modules/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/utils.js b/modules/utils.js index 5c800307..36b4d1e2 100644 --- a/modules/utils.js +++ b/modules/utils.js @@ -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;