Permalink
Browse files

Enter on any input element causes form submission.

  • Loading branch information...
1 parent 0239e4b commit d1d66f017f910e3fca0802c4a624012c04593273 @shane-tomlinson shane-tomlinson committed Jul 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 browserid/static/dialog/controllers/dialog_controller.js
@@ -52,6 +52,7 @@ $.Controller("Dialog", {}, {
var footerHtml = $.View("//dialog/views/" + footer, footer_vars);
$('#bottom-bar').html(footerHtml);
}
+ this.setupEnterKey();
},
"#suggest_signin click": function(event) {
@@ -250,7 +251,6 @@ $.Controller("Dialog", {}, {
this.renderTemplates("authenticate.ejs", {sitename: this.remoteOrigin},
"bottom-signin.ejs", {});
- this.setupEnterKey();
},
doCreate: function() {

0 comments on commit d1d66f0

Please sign in to comment.