ui: TokenEdit: change default focus to tokenide field
Avoids that the user selector always pops up and tokenid is normally more likely to change as the userid gets pre-selected to the one from the logged in user. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
fbfe1e39d4
commit
a6ac82556f
@ -13,6 +13,8 @@ Ext.define('PVE.dc.TokenEdit', {
|
||||
method: 'POST',
|
||||
url: '/api2/extjs/access/users/',
|
||||
|
||||
defaultFocus: 'field[disabled=false][hidden=false][name=tokenid]',
|
||||
|
||||
items: {
|
||||
xtype: 'inputpanel',
|
||||
onGetValues: function(values) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user