diff -r 4bb20dddef00 -r 1e61232606d6 includes/clientside/static/misc.js --- a/includes/clientside/static/misc.js Wed Jun 13 19:53:18 2007 -0400 +++ b/includes/clientside/static/misc.js Sat Jun 16 18:47:06 2007 -0400 @@ -342,7 +342,8 @@ ajax_auth_mb_cache.updateContent(form_html); $('messageBox').object.nextSibling.firstChild.tabindex = '3'; $('ajaxlogin_user').object.focus(); - $('ajaxlogin_pass').object.onblur = function() { $('messageBox').object.nextSibling.firstChild.focus(); }; + $('ajaxlogin_pass').object.onblur = function(e) { if ( !shift ) $('messageBox').object.nextSibling.firstChild.focus(); }; + $('ajaxlogin_pass').object.onkeypress = function(e) { if ( e.keyCode == 13 ) $('messageBox').object.nextSibling.firstChild.click(); }; } }); }