From c85c5a0532b6a1cdfedf243b83eaf2fd83930b1f Mon Sep 17 00:00:00 2001 From: piro Date: Fri, 22 Feb 2008 18:06:22 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=83=96=E3=83=90=E3=83=BC=E3=81=A7?= =?UTF-8?q?=E3=81=AE=E3=83=80=E3=83=96=E3=83=AB=E3=82=AF=E3=83=AA=E3=83=83?= =?UTF-8?q?=E3=82=AF=E6=93=8D=E4=BD=9C=E3=81=8C=E6=A9=9F=E8=83=BD=E3=81=97?= =?UTF-8?q?=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= 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@1834 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 25aab53b..743bddcb 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -325,6 +325,13 @@ TreeStyleTabBrowser.prototype = { ) ); + eval('b.onTabBarDblClick = '+ + b.onTabBarDblClick.toSource().replace( + 'aEvent.originalTarget.localName == "box"', + '/^(box|(arrow)?scrollbox|tabs)$/.test(aEvent.originalTarget.localName)' + ) + ); + var tabs = b.mTabContainer.childNodes; for (var i = 0, maxi = tabs.length; i < maxi; i++) {