View | Details | Raw Unified | Return to bug 10310
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/js/prevent_submit.js (-2 / +1 lines)
Lines 3-9 $(document).ready(function() { Link Here
3
  $("#doc3 form").keypress(function (e) {
3
  $("#doc3 form").keypress(function (e) {
4
    if( e.which == 13
4
    if( e.which == 13
5
        && e.target.nodeName == "INPUT"
5
        && e.target.nodeName == "INPUT"
6
        && $(e.target).attr('type') != "submit"
6
        && e.target.type != "submit"
7
    ) {
7
    ) {
8
        return false;
8
        return false;
9
    }
9
    }
10
- 

Return to bug 10310