summaryrefslogtreecommitdiffstats
path: root/application/modules/fbgui/views/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/fbgui/views/scripts')
-rw-r--r--application/modules/fbgui/views/scripts/auth/login.phtml6
1 files changed, 6 insertions, 0 deletions
diff --git a/application/modules/fbgui/views/scripts/auth/login.phtml b/application/modules/fbgui/views/scripts/auth/login.phtml
index 09724d4..359a743 100644
--- a/application/modules/fbgui/views/scripts/auth/login.phtml
+++ b/application/modules/fbgui/views/scripts/auth/login.phtml
@@ -7,5 +7,11 @@ echo $this->loginForm;
<script>
$(document).ready(function(){
$("#email").focus();
+ $('input').keypress(function(e) {
+ if(e.which == 13) {
+ $(this).blur();
+ $('#login').focus().click();
+ }
+ });
});
</script>