Tab UtilitiesでpinnedにされたタブについてはAPIが呼ばれても子タブを開かないように

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7160 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-09-09 09:00:11 +00:00
parent 308c11bb67
commit 135d1e41d7

View File

@ -1142,7 +1142,11 @@ var TreeStyleTabUtils = {
var ownerBrowser = this.getTabBrowserFromFrame(frame);
var parentTab = this.getTabFromFrame(frame, ownerBrowser);
if (parentTab.pinned) return;
if (
parentTab.pinned || // Firefox 4.0
parentTab.getAttribute('pinned') == 'true' // Tab Utilities
)
return;
ownerBrowser.treeStyleTab.ensureTabInitialized(parentTab);
var parentId = parentTab.getAttribute(this.kID);