This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
2021-08-23 10:26:02 +02:00

8 lines
332 B
Plaintext

<% if @comment.parent_id == nil %>
$('#comments .form_place').html("<%= escape_javascript(render(:partial => "form"))%>");
<% else %>
$('#comment_<%= @comment.parent_id %>').children(".child_comments").children(".child_form_place").html("<%= escape_javascript(render(:partial => "form"))%>");
<% end %>
//$(".add_comment").hide();