handler fix to previous commit
authorArt Cancro <ajc@uncensored.citadel.org>
Thu, 1 Dec 2011 19:14:04 +0000 (14:14 -0500)
committerArt Cancro <ajc@uncensored.citadel.org>
Thu, 1 Dec 2011 19:14:04 +0000 (14:14 -0500)
webcit/static/authmethods.js
webcit/static/t/get_logged_in.html

index 8ad1e29fa14c44cb5d7bc9af8a2e29c4e3d799a3..3362a5185b5ed256d9846fd77a06859c5f3565c3 100644 (file)
@@ -176,7 +176,9 @@ function openid_onkeypress(e) {
        }
        if (keynum == 13) {             /* enter/return key */
                ajax_try_openid();
+               return false;
        }
+       return true;
 }
 
 
index 7287f0500177a60980fd962b870fbafe615023c6..c2e7b89eda3b1fb5854512975f7d43b823d1704f 100644 (file)
@@ -73,7 +73,7 @@
 <h2><?_("Log in using OpenID")></h2>
 <form id="ajax_openid_form" method="POST" action="ajax_login_openid">
 <?_("OpenID URL:")>
-<input type="text" name="openid_url" id="openid_url" class="openid_urlarea" onKeyPress="openid_onkeypress(event);">
+<input type="text" name="openid_url" id="openid_url" class="openid_urlarea" onKeyPress="return openid_onkeypress(event);">
 </form>
 <div class="logbuttons"><a href="javascript:ajax_try_openid();"><?_("Log in")></a></div>
 </div>