タブが1つだけ開かれている状態から2つ目のタブを開いた時にタブバーの状態が更新されない問題に対処( http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2769

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7205 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-09-15 01:42:36 +00:00
parent 2cf5432a88
commit e7b9ee61e7

View File

@ -2841,14 +2841,12 @@ TreeStyleTabBrowser.prototype = {
*/ */
var tab = aEvent.target; var tab = aEvent.target;
var b = this.browser; var b = this.browser;
if ( if (tab.localName == 'tab' && b) {
tab.localName == 'tab' && if (tab.getAttribute('fadein') == 'true')
b && b.tabContainer._handleNewTab(tab);
b._removingTabs && else if (b._removingTabs.indexOf(tab) > -1)
b._removingTabs.indexOf(tab) > -1 && b._endRemoveTab(tab);
b._endRemoveTab }
)
b._endRemoveTab(tab);
}, },
onDOMAttrModified : function TSTBrowser_onDOMAttrModified(aEvent) onDOMAttrModified : function TSTBrowser_onDOMAttrModified(aEvent)