Open new tab as the next sibling tab correctly, even if the current tab is the last child #1143
This commit is contained in:
parent
0e3acd003d
commit
2b13d9996d
@ -1410,7 +1410,7 @@ var TreeStyleTabBase = inherit(TreeStyleTabConstants, {
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
var parentTab = this.getParentTab(tab);
|
var parentTab = this.getParentTab(tab);
|
||||||
var nextTab = this.getNextSiblingTab(tab);
|
var nextTab = this.getNextSiblingTab(tab) || this.getNextTab(tab);
|
||||||
if (parentTab) {
|
if (parentTab) {
|
||||||
/**
|
/**
|
||||||
* If the base tab has a parent, open the new tab as a child of
|
* If the base tab has a parent, open the new tab as a child of
|
||||||
|
Loading…
Reference in New Issue
Block a user