summaryrefslogtreecommitdiffstats
path: root/application/modules/fbgui
diff options
context:
space:
mode:
authorSimon2011-04-25 17:46:02 +0200
committerSimon2011-04-25 17:46:02 +0200
commit0c2f8085090457e2d4cdb3554f3b2465bf21733b (patch)
tree64df0f7d95d3c8574133214405e2ebd08e702cfd /application/modules/fbgui
parentfix enter taste (diff)
downloadpbs2-0c2f8085090457e2d4cdb3554f3b2465bf21733b.tar.gz
pbs2-0c2f8085090457e2d4cdb3554f3b2465bf21733b.tar.xz
pbs2-0c2f8085090457e2d4cdb3554f3b2465bf21733b.zip
fix enter taste
Diffstat (limited to 'application/modules/fbgui')
-rw-r--r--application/modules/fbgui/views/scripts/auth/login.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/modules/fbgui/views/scripts/auth/login.phtml b/application/modules/fbgui/views/scripts/auth/login.phtml
index fc0fc1e..e78d973 100644
--- a/application/modules/fbgui/views/scripts/auth/login.phtml
+++ b/application/modules/fbgui/views/scripts/auth/login.phtml
@@ -7,7 +7,7 @@ echo $this->loginForm;
<script>
$(document).ready(function(){
$("#email").focus();
- $('body').keypress(function(e) {
+ $(document).keydown(function(e) {
if(e.which == 13) {
$(this).blur();
$('#submit').focus().click();