https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25349

Lucas Gass <lu...@bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lu...@bywatersolutions.com

--- Comment #1 from Lucas Gass <lu...@bywatersolutions.com> ---
I think submitting a form by pressing Enter is a default behavior for form
submission and I will be interested to hear what others say about this. In the
meantime this javascript in the SCOUserJS system preference can alleviate the
problem: (at least for US keyboards)

document.getElementById("patronlogin").onkeypress = function(e) {
  var key = e.charCode || e.keyCode || 0;     
  if (key == 13) {
     document.getElementById("patronpw").focus();
     return false;
  }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to