タブバーでのダブルクリック操作が機能しない問題を修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1834 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
b83feed70b
commit
c85c5a0532
@ -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++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user