Index: typo3/sysext/t3skin/resources/login.js =================================================================== --- typo3/sysext/t3skin/resources/login.js (revision 6515) +++ typo3/sysext/t3skin/resources/login.js (working copy) @@ -1,10 +1,18 @@ +var isWebKit = document.childNodes && !document.all && !navigator.taintEnabled; + TYPO3BackendLogin = { start: function() { + TYPO3BackendLogin.preloadImages(); TYPO3BackendLogin.registerEventListeners(); TYPO3BackendLogin.setVisibilityOfClearIcon($('t3-username'), $('t3-username-clearIcon')); TYPO3BackendLogin.setVisibilityOfClearIcon($('t3-password'), $('t3-password-clearIcon')); }, + preloadImages: function() { + var image = new Image(); + image.src = 'sysext/t3skin/icons/login-submit-progress.gif'; + }, + registerEventListeners: function() { Event.observe( $('t3-login-switchToOpenId'), @@ -33,11 +41,13 @@ ['focus', 'blur', 'keypress'], function() { TYPO3BackendLogin.setVisibilityOfClearIcon($(value), $(value + '-clearIcon')); } ); - Event.observe( - $(value), - 'keypress', - function(event) { TYPO3BackendLogin.showCapsLockWarning($(value + '-alert-capslock'), event); } - ); + if (!isWebKit) { + Event.observe( + $(value), + 'keypress', + function(event) { TYPO3BackendLogin.showCapsLockWarning($(value + '-alert-capslock'), event); } + ); + } }) },