タブバーでのダブルクリック操作が機能しない問題を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1834 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2008-02-22 18:06:22 +00:00
parent b83feed70b
commit c85c5a0532

View File

@ -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; var tabs = b.mTabContainer.childNodes;
for (var i = 0, maxi = tabs.length; i < maxi; i++) for (var i = 0, maxi = tabs.length; i < maxi; i++)
{ {