From 4754f4803df164749373d5d3ce51c84b4798db4e Mon Sep 17 00:00:00 2001 From: piro Date: Thu, 23 Jul 2009 16:28:31 +0000 Subject: [PATCH] =?UTF-8?q?=E3=81=99=E3=81=B9=E3=81=A6=E3=81=AE=E5=AD=90?= =?UTF-8?q?=E3=82=92=E8=A7=A3=E6=94=BE=E3=81=97=E3=81=9F=E6=99=82=E3=81=A0?= =?UTF-8?q?=E3=81=91=E3=83=80=E3=83=9F=E3=83=BC=E3=81=AE=E8=A6=AA=E3=82=BF?= =?UTF-8?q?=E3=83=96=E3=82=92=E9=96=89=E3=81=98=E3=82=8B?= 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@4791 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 28953e8e..c10385aa 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -2968,7 +2968,7 @@ TreeStyleTabBrowser.prototype = { event.initEvent('TreeStyleTabParted', true, true); aChild.dispatchEvent(event); - if (this.isGroupTab(parentTab)) { + if (this.isGroupTab(parentTab) && !this.hasChildTabs(parentTab)) { window.setTimeout(function(aSelf) { aSelf.getTabBrowserFromChild(parentTab).removeTab(parentTab); }, 0, this);