diff --git a/frontend/web/js/script.js b/frontend/web/js/script.js index 34998e8..2f32559 100644 --- a/frontend/web/js/script.js +++ b/frontend/web/js/script.js @@ -463,7 +463,7 @@ $(document).ready(function() { $.post( $(this).attr("action"), $(this).serialize(), function(data) { document.getElementById(id).reset(); - form.find('.submit-close-c-a').click(); + form.find('.submit-close-c-a span').click(); $(".add-answer-forms").after("
"); var dat = form.data('yiiActiveForm'); dat.validate = false; -- libgit2 0.21.4