From 63ce315380ec3442d13277b5ccc814a11e914054 Mon Sep 17 00:00:00 2001 From: piro Date: Thu, 24 Dec 2009 05:26:02 +0000 Subject: [PATCH] =?UTF-8?q?=E5=AD=90=E3=82=BF=E3=83=96=E3=82=92=E6=8C=81?= =?UTF-8?q?=E3=81=A3=E3=81=A6=E3=81=84=E3=81=AA=E3=81=84=E6=99=82=E3=81=AF?= =?UTF-8?q?=E3=80=81=E3=82=B5=E3=83=96=E3=83=84=E3=83=AA=E3=83=BC=E3=81=AF?= =?UTF-8?q?=E6=8A=98=E3=82=8A=E7=95=B3=E3=81=BE=E3=82=8C=E3=81=A6=E3=81=84?= =?UTF-8?q?=E3=81=AA=E3=81=84=E3=81=A8=E8=A6=8B=E3=81=AA=E3=81=99=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB=E3=81=97=E3=81=9F?= 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@5597 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index c8f46cd3..c7444062 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -941,7 +941,7 @@ var TreeStyleTabService = { isSubtreeCollapsed : function(aTab) /* PUBLIC API */ { - if (!aTab || !this.canCollapseSubtree(aTab)) + if (!aTab || !this.canCollapseSubtree(aTab) || !this.hasChildTabs(aTab)) return false; return aTab.getAttribute(this.kSUBTREE_COLLAPSED) == 'true';