Commit d5784f81 authored by Olga Brani's avatar Olga Brani
Browse files

Bug fix

- Form visible when there is error in submit
parent 957ec200
......@@ -25,6 +25,11 @@
$("h2.form-toggler a").click(function(e) {
e.preventDefault();
$("div.form").slideToggle();
})
});
$('div.form .form-row').each(function() {
if ( $(this).hasClass('with-errors') ){
$('div.form').show();
}
});
})
</script>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment