mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-02 21:09:44 +00:00
set default focus of login window
usability fix: when showing the login window, make the username field have the default focus, so that one can enter the username right away Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
4dce154f87
commit
a765aecaf7
@ -99,6 +99,8 @@ Ext.define('PVE.window.LoginWindow', {
|
||||
|
||||
title: gettext('Proxmox VE Login'),
|
||||
|
||||
defaultFocus: 'usernameField',
|
||||
|
||||
items: [{
|
||||
xtype: 'form',
|
||||
layout: 'form',
|
||||
@ -115,6 +117,7 @@ Ext.define('PVE.window.LoginWindow', {
|
||||
xtype: 'textfield',
|
||||
fieldLabel: gettext('User name'),
|
||||
name: 'username',
|
||||
itemId: 'usernameField',
|
||||
reference: 'usernameField',
|
||||
blankText: gettext("Enter your user name")
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user