From 135d1e41d717306a40f8758d2b5fdc85d644de2f Mon Sep 17 00:00:00 2001 From: piro Date: Thu, 9 Sep 2010 09:00:11 +0000 Subject: [PATCH] =?UTF-8?q?Tab=20Utilities=E3=81=A7pinned=E3=81=AB?= =?UTF-8?q?=E3=81=95=E3=82=8C=E3=81=9F=E3=82=BF=E3=83=96=E3=81=AB=E3=81=A4?= =?UTF-8?q?=E3=81=84=E3=81=A6=E3=81=AFAPI=E3=81=8C=E5=91=BC=E3=81=B0?= =?UTF-8?q?=E3=82=8C=E3=81=A6=E3=82=82=E5=AD=90=E3=82=BF=E3=83=96=E3=82=92?= =?UTF-8?q?=E9=96=8B=E3=81=8B=E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7160 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- modules/utils.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/utils.js b/modules/utils.js index 81c9743b..eff07a86 100644 --- a/modules/utils.js +++ b/modules/utils.js @@ -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);