From c19163812168c7a1ad4cb0b654f27bbcbdbff80e Mon Sep 17 00:00:00 2001 From: piro Date: Sun, 21 Oct 2007 06:47:40 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=83=96=E3=81=AE=E3=83=89=E3=83=AD?= =?UTF-8?q?=E3=83=83=E3=83=97=E8=AA=9E=E3=81=AE=E5=87=A6=E7=90=86=E3=81=8C?= =?UTF-8?q?=E6=AD=A3=E3=81=97=E3=81=8F=E8=A1=8C=E3=82=8F=E3=82=8C=E3=81=AA?= =?UTF-8?q?=E3=81=84=E4=BA=8B=E3=81=8C=E3=81=82=E3=81=A3=E3=81=9F=E3=81=AE?= =?UTF-8?q?=E3=82=92=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@1258 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletab.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index e07d2821..78c7a781 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -1123,7 +1123,10 @@ catch(e) { this.partTab(aTarget); } else if (aInfo.action & this.kACTION_ATTACH) { - this.attachTabTo(aTarget, aInfo.parent); + if (aInfo.parent) + this.attachTabTo(aTarget, aInfo.parent); + else + this.partTab(aTarget); } else { return false;