キーボードショートカットなどで前後のタブにフォーカスを移動できなくなっていたのを修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1585 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
64ce236858
commit
15c754fbba
@ -1766,7 +1766,8 @@ TreeStyleTabBrowser.prototype = {
|
||||
{
|
||||
if (TreeStyleTabService.getTreePref('focusMode') == TreeStyleTabService.kFOCUS_VISIBLE) {
|
||||
(function(aDir, aWrap, aSelf) {
|
||||
var nextTab = (aDir < 0) ? aSelf.treeStyleTab.getPreviousVisibleTab(aSelf.selectedItem) : aSelf.treeStyleTab.getNextVisibleTab(aSelf.selectedItem) ;
|
||||
var treeStyleTab = TreeStyleTabService.getTabBrowserFromChildren(aSelf).treeStyleTab;
|
||||
var nextTab = (aDir < 0) ? treeStyleTab.getPreviousVisibleTab(aSelf.selectedItem) : treeStyleTab.getNextVisibleTab(aSelf.selectedItem) ;
|
||||
if (!nextTab && aWrap) {
|
||||
var xpathResult = TreeStyleTabService.evaluateXPath(
|
||||
'child::xul:tab[not(@'+TreeStyleTabService.kCOLLAPSED+'="true")]',
|
||||
|
Loading…
x
Reference in New Issue
Block a user