mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-17 20:02:46 +00:00
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',
|
method: 'POST',
|
||||||
url: '/api2/extjs/access/users/',
|
url: '/api2/extjs/access/users/',
|
||||||
|
|
||||||
|
defaultFocus: 'field[disabled=false][hidden=false][name=tokenid]',
|
||||||
|
|
||||||
items: {
|
items: {
|
||||||
xtype: 'inputpanel',
|
xtype: 'inputpanel',
|
||||||
onGetValues: function(values) {
|
onGetValues: function(values) {
|
||||||
|
Loading…
Reference in New Issue
Block a user