タブを閉じた時、親タブの持つ子タブリストからそのタブが削除されない問題を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1377 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2007-10-28 18:48:02 +00:00
parent 6e9aa8f677
commit 1a20619973
2 changed files with 14 additions and 16 deletions

View File

@ -1196,7 +1196,6 @@ catch(e) {
this.setTabValue(tab, this.kCHILDREN, backupChildren);
}
if (!nextFocusedTab) {
if (parentTab) {
var firstSibling = this.getFirstChildTab(parentTab);
var lastSibling = this.getLastChildTab(parentTab);
@ -1210,10 +1209,9 @@ catch(e) {
}
this.partTab(tab, true);
}
else {
if (!nextFocusedTab) {
nextFocusedTab = this.getNextSiblingTab(tab);
}
}
if (nextFocusedTab && b.selectedTab == tab)
b.selectedTab = nextFocusedTab;

View File

@ -5,7 +5,7 @@
<RDF:Description RDF:about="urn:mozilla:install-manifest"
em:id="treestyletab@piro.sakura.ne.jp"
em:name="Tree Style Tab"
em:version="0.3.2007102903"
em:version="0.3.2007102904"
em:creator="SHIMODA Hiroshi"
em:description="Show tabs like a tree."
em:homepageURL="http://piro.sakura.ne.jp/xul/treestyletab/"