From c1d7f83dc40fe2804c8a7bed188334680ab2b30c Mon Sep 17 00:00:00 2001 From: piro Date: Sat, 26 Jun 2010 17:36:08 +0000 Subject: [PATCH] =?UTF-8?q?=E8=A6=AA=E3=82=BF=E3=83=96=E3=82=92=E5=90=AB?= =?UTF-8?q?=E3=82=80=E8=A4=87=E6=95=B0=E3=81=AE=E3=82=BF=E3=83=96=E3=82=92?= =?UTF-8?q?=E9=81=B8=E6=8A=9E=E3=81=97=E3=81=A6=E5=AD=90=E3=82=BF=E3=83=96?= =?UTF-8?q?=E3=81=AB=E3=83=89=E3=83=AD=E3=83=83=E3=83=97=E3=81=97=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=A8=E3=81=97=E3=81=9F=E6=99=82=E3=81=AB=E3=83=95?= =?UTF-8?q?=E3=83=AA=E3=83=BC=E3=82=BA=E3=81=99=E3=82=8B=E5=95=8F=E9=A1=8C?= =?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@6755 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 573796e5..bdc53df3 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -3648,6 +3648,14 @@ TreeStyleTabBrowser.prototype = { return; } + currentParent = aParent; + do { + if (currentParent != aChild) continue; + // this.fireAttachedEvent(aChild, aParent); + return; + } + while (currentParent = this.getParentTab(currentParent)); + shouldInheritIndent = ( !currentParent || (currentParent.getAttribute(this.kNEST) == aParent.getAttribute(this.kNEST))