From 15c754fbba5dd3254b316d8822958f3da1f3fabe Mon Sep 17 00:00:00 2001 From: piro Date: Thu, 15 Nov 2007 04:05:28 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=AD=E3=83=BC=E3=83=9C=E3=83=BC=E3=83=89?= =?UTF-8?q?=E3=82=B7=E3=83=A7=E3=83=BC=E3=83=88=E3=82=AB=E3=83=83=E3=83=88?= =?UTF-8?q?=E3=81=AA=E3=81=A9=E3=81=A7=E5=89=8D=E5=BE=8C=E3=81=AE=E3=82=BF?= =?UTF-8?q?=E3=83=96=E3=81=AB=E3=83=95=E3=82=A9=E3=83=BC=E3=82=AB=E3=82=B9?= =?UTF-8?q?=E3=82=92=E7=A7=BB=E5=8B=95=E3=81=A7=E3=81=8D=E3=81=AA=E3=81=8F?= =?UTF-8?q?=E3=81=AA=E3=81=A3=E3=81=A6=E3=81=84=E3=81=9F=E3=81=AE=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= 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@1585 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 18e46a2f..66999987 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -1766,7 +1766,8 @@ TreeStyleTabBrowser.prototype = { { if (TreeStyleTabService.getTreePref('focusMode') == TreeStyleTabService.kFOCUS_VISIBLE) { (function(aDir, aWrap, aSelf) { - var nextTab = (aDir < 0) ? aSelf.treeStyleTab.getPreviousVisibleTab(aSelf.selectedItem) : aSelf.treeStyleTab.getNextVisibleTab(aSelf.selectedItem) ; + var treeStyleTab = TreeStyleTabService.getTabBrowserFromChildren(aSelf).treeStyleTab; + var nextTab = (aDir < 0) ? treeStyleTab.getPreviousVisibleTab(aSelf.selectedItem) : treeStyleTab.getNextVisibleTab(aSelf.selectedItem) ; if (!nextTab && aWrap) { var xpathResult = TreeStyleTabService.evaluateXPath( 'child::xul:tab[not(@'+TreeStyleTabService.kCOLLAPSED+'="true")]',