Fix recursion error shift-tabbing in metadata pane on item types with no creators
This commit is contained in:
parent
59e21310a3
commit
bd5ef678f5
1 changed files with 9 additions and 3 deletions
|
@ -410,7 +410,7 @@
|
|||
continue;
|
||||
}
|
||||
|
||||
// Start tabindex at 1000 after creators
|
||||
// Start tabindex at 1001 after creators
|
||||
var tabindex = fieldIsClickable
|
||||
? (i>0 ? this._tabIndexMinFields + i : 1) : 0;
|
||||
this._tabIndexMaxInfoFields = Math.max(this._tabIndexMaxInfoFields, tabindex);
|
||||
|
@ -2201,11 +2201,17 @@
|
|||
return false;
|
||||
|
||||
case this._tabIndexMinCreators:
|
||||
var nextIndex = 1;
|
||||
var nextIndex = 1; // Title field
|
||||
break;
|
||||
|
||||
case this._tabIndexMinFields:
|
||||
// No creators
|
||||
if (this._tabIndexMaxCreators == 0) {
|
||||
var nextIndex = 1; // Title field
|
||||
}
|
||||
else {
|
||||
var nextIndex = this._tabIndexMaxCreators;
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue