[pve-devel] r5486 - in pve-manager/pve2/www/manager: . window
svn-commits at proxmox.com
svn-commits at proxmox.com
Thu Feb 3 13:56:02 CET 2011
Author: dietmar
Date: 2011-02-03 13:56:02 +0100 (Thu, 03 Feb 2011)
New Revision: 5486
Modified:
pve-manager/pve2/www/manager/Workspace.js
pve-manager/pve2/www/manager/window/LoginWindow.js
Log:
take focus
Modified: pve-manager/pve2/www/manager/Workspace.js
===================================================================
--- pve-manager/pve2/www/manager/Workspace.js 2011-02-03 11:36:21 UTC (rev 5485)
+++ pve-manager/pve2/www/manager/Workspace.js 2011-02-03 12:56:02 UTC (rev 5486)
@@ -94,7 +94,6 @@
viewport = new Ext.Viewport({ layout : 'fit' });
if (!PVE.Utils.authOK()) {
- console.log("auth not OK");
PVE.Workspace.showLogin();
} else {
buildContent();
Modified: pve-manager/pve2/www/manager/window/LoginWindow.js
===================================================================
--- pve-manager/pve2/www/manager/window/LoginWindow.js 2011-02-03 11:36:21 UTC (rev 5485)
+++ pve-manager/pve2/www/manager/window/LoginWindow.js 2011-02-03 12:56:02 UTC (rev 5486)
@@ -64,7 +64,12 @@
xtype: 'textfield',
fieldLabel: 'Username',
name: 'username',
- blankText:"Enter your username"
+ blankText:"Enter your username",
+ listeners: {
+ render: function(f) {
+ f.focus(true, 500);
+ }
+ }
},
{
xtype: 'textfield',
More information about the pve-devel
mailing list