pinnedなタブに対しては子タブを開けないようにした
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6756 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
c1d7f83dc4
commit
ab7f80ccf7
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user