From e7b9ee61e78684fe7f70b444869fe1e6dfa01613 Mon Sep 17 00:00:00 2001 From: piro Date: Wed, 15 Sep 2010 01:42:36 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=83=96=E3=81=8C1=E3=81=A4=E3=81=A0?= =?UTF-8?q?=E3=81=91=E9=96=8B=E3=81=8B=E3=82=8C=E3=81=A6=E3=81=84=E3=82=8B?= =?UTF-8?q?=E7=8A=B6=E6=85=8B=E3=81=8B=E3=82=892=E3=81=A4=E7=9B=AE?= =?UTF-8?q?=E3=81=AE=E3=82=BF=E3=83=96=E3=82=92=E9=96=8B=E3=81=84=E3=81=9F?= =?UTF-8?q?=E6=99=82=E3=81=AB=E3=82=BF=E3=83=96=E3=83=90=E3=83=BC=E3=81=AE?= =?UTF-8?q?=E7=8A=B6=E6=85=8B=E3=81=8C=E6=9B=B4=E6=96=B0=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=81=AB=E5=AF=BE=E5=87=A6?= =?UTF-8?q?=EF=BC=88=20http://piro.sakura.ne.jp/cgi-bin/bbs.cgi=3F2769=20?= =?UTF-8?q?=EF=BC=89?= 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@7205 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 12faf3cc..ba2d0ee1 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -2841,14 +2841,12 @@ TreeStyleTabBrowser.prototype = { */ var tab = aEvent.target; var b = this.browser; - if ( - tab.localName == 'tab' && - b && - b._removingTabs && - b._removingTabs.indexOf(tab) > -1 && - b._endRemoveTab - ) - b._endRemoveTab(tab); + if (tab.localName == 'tab' && b) { + if (tab.getAttribute('fadein') == 'true') + b.tabContainer._handleNewTab(tab); + else if (b._removingTabs.indexOf(tab) > -1) + b._endRemoveTab(tab); + } }, onDOMAttrModified : function TSTBrowser_onDOMAttrModified(aEvent)