Revision 8738339d
b/snf-astakos-app/astakos/im/templates/im/auth/local_login_prompt.html | ||
---|---|---|
26 | 26 |
e.preventDefault(); |
27 | 27 |
$("div.form").slideToggle(); |
28 | 28 |
}); |
29 |
$('div.form .form-row').each(function() { |
|
30 |
if ( $(this).hasClass('with-errors') ){ |
|
31 |
$('div.form').show(); |
|
32 |
} |
|
33 |
}); |
|
29 |
if ( ( $('div.form .form-row.with-errors').length > 0) || ( $('ul.errorlist').length > 0 ) ) { |
|
30 |
$("div.form").show(); |
|
31 |
} |
|
32 |
|
|
34 | 33 |
}) |
35 | 34 |
</script> |
Also available in: Unified diff