Bug 19907: Fix email validation in patron edit form
Test plan:
0) Confirm that email validation is not working in add/edit patron form
1) Apply the patch
2) Edit/add patron, the e-mail validation should be working now
3) Ensure the password validation is still working (use test plan from
bug 19908)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Conflicts:
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
This commit is contained in:
parent
1f4baf31bb
commit
3fb5d1c7cd
|
|
@ -94,18 +94,6 @@ $(document).ready(function() {
|
|||
else {return false;}
|
||||
});
|
||||
|
||||
$("#entryform").validate({
|
||||
rules: {
|
||||
password: {
|
||||
password_strong: true,
|
||||
password_no_spaces: true
|
||||
},
|
||||
password2: {
|
||||
password_match: true
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$("#saverecord").click(function(){
|
||||
if( check_form_borrowers() ){
|
||||
$("#entryform").submit();
|
||||
|
|
|
|||
|
|
@ -319,6 +319,13 @@ $(document).ready(function(){
|
|||
},
|
||||
B_email: {
|
||||
email: true
|
||||
},
|
||||
password: {
|
||||
password_strong: true,
|
||||
password_no_spaces: true
|
||||
},
|
||||
password2: {
|
||||
password_match: true
|
||||
}
|
||||
},
|
||||
submitHandler: function(form) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue