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

(-)a/koha-tmpl/intranet-tmpl/prog/js/members.js (-7 / +7 lines)
Lines 103-120 function check_form_borrowers(nav){ Link Here
103
            }
103
            }
104
        }
104
        }
105
    }
105
    }
106
106
    if ( document.form.password ) {
107
    if ( document.form.password.value != document.form.password2.value ){
107
        if ( document.form.password.value != document.form.password2.value ){
108
            if ( message_champ !== '' ){
108
            if ( message_champ !== '' ){
109
                message_champ += "\n";
109
                message_champ += "\n";
110
            }
110
            }
111
            message_champ+= MSG_PASSWORD_MISMATCH;
111
            message_champ+= MSG_PASSWORD_MISMATCH;
112
            statut=1;
112
            statut=1;
113
    }
113
        }
114
114
115
    if ( ! check_password( document.form.password.value ) ) {
115
        if ( ! check_password( document.form.password.value ) ) {
116
        message_champ += MSG_PASSWORD_CONTAINS_TRAILING_SPACES;
116
            message_champ += MSG_PASSWORD_CONTAINS_TRAILING_SPACES;
117
        statut = 1;
117
            statut = 1;
118
        }
118
    }
119
    }
119
120
120
    //patrons form to test if you checked no to the question of double
121
    //patrons form to test if you checked no to the question of double
121
- 

Return to bug 16947