parent
ffa2a8d9be
commit
5bb2486040
1 changed files with 13 additions and 1 deletions
|
@ -310,6 +310,7 @@
|
|||
}
|
||||
|
||||
this.itemTypeMenu.parentNode.hidden = false;
|
||||
this.itemTypeMenu.setAttribute('ztabindex', '0');
|
||||
}
|
||||
else {
|
||||
this.itemTypeMenu.parentNode.hidden = true;
|
||||
|
@ -1768,6 +1769,10 @@
|
|||
this._focusNextField(this._lastTabIndex, true);
|
||||
}
|
||||
else {
|
||||
// If on the last field, allow default tab action
|
||||
if (this._lastTabIndex == this._tabIndexMaxFields) {
|
||||
return;
|
||||
}
|
||||
this._focusNextField(++this._lastTabIndex);
|
||||
}
|
||||
return false;
|
||||
|
@ -2315,7 +2320,14 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
next.click();
|
||||
// Drop-down needs to be focused
|
||||
if (next.id == 'item-type-menu') {
|
||||
next.focus();
|
||||
}
|
||||
// Fields need to be clicked
|
||||
else {
|
||||
next.click();
|
||||
}
|
||||
|
||||
// 1) next.parentNode is always null for some reason
|
||||
// 2) For some reason it's necessary to scroll to the next element when
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue