Fixed bug #16298: Set focus to password field when "loginRefreshLayer" shows up ...
authorSteffen Kamper <info@sk-typo3.de>
Tue, 9 Nov 2010 09:41:06 +0000 (09:41 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 9 Nov 2010 09:41:06 +0000 (09:41 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9315 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/js/loginrefresh.js

index 4c1c8f2..3fa5c83 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-09  Steffen Kamper  <steffen@typo3.org>
+
+       * Fixed bug #16298: Set focus to password field when "loginRefreshLayer" shows up (Thanks to Andreas Kiessling)
+
 2010-11-08  Jeff Segars  <jeff@webempoweredchurch.org>
 
        * Added feature #16133: Introduce new config setting to completely disable the preview notification box (Thanks to Andreas Kiessling)
index 081ed31..9024273 100644 (file)
@@ -147,7 +147,12 @@ Ext.ux.TYPO3.loginRefresh = Ext.extend(Ext.util.Observable, {
                        border: false,
                        modal: true,
                        draggable: false,
-                       items: [loginPanel]
+                       items: [loginPanel],
+                       listeners: {
+                               activate: function() {
+                                       Ext.getCmp('password').focus(false, 800);
+                               }
+                       }
                });
 
                var progressControl = new Ext.ProgressBar({