Enter/return key submits form in the new user/password dialog
[citadel.git] / webcit / static / t / get_logged_in.html
index 3648eee1790d8b9854939ce4aca5a4b268030fe2..568f4c186ed8dec8ce7d2401e21e67d2bd1a8817 100644 (file)
 <h2><?_("Log in using a user name and password")></h2>
 <form id="ajax_username_password_form" method="POST" action="ajax_login_username_password">
 <?_("User name:")>
-<input type="text" name="name" id="uname">
+<input type="text" name="name" id="uname" onKeyPress="username_and_password_onkeypress(event);">
 <br><br>
 <?_("Password:")>
-<input type="password" name="pass" id="pname">
+<input type="password" name="pass" id="pname" onKeyPress="username_and_password_onkeypress(event);">
 <br><br>
 </form>
 <div class="buttons"><a href="javascript:ajax_try_username_and_password();"><?_("Log in")></a></div>