pinnedなタブに対しては子タブを開けないようにした

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6756 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-06-26 17:41:20 +00:00
parent c1d7f83dc4
commit ab7f80ccf7

View File

@ -1137,6 +1137,8 @@ var TreeStyleTabUtils = {
var ownerBrowser = this.getTabBrowserFromFrame(frame); var ownerBrowser = this.getTabBrowserFromFrame(frame);
var parentTab = this.getTabFromFrame(frame, ownerBrowser); var parentTab = this.getTabFromFrame(frame, ownerBrowser);
if (parentTab.pinned) return;
ownerBrowser.treeStyleTab.ensureTabInitialized(parentTab); ownerBrowser.treeStyleTab.ensureTabInitialized(parentTab);
var parentId = parentTab.getAttribute(this.kID); var parentId = parentTab.getAttribute(this.kID);