socialforge/app/views/users/show_all_replies.js.erb

3 lines
198 B
Plaintext

<% unless @comment.parent.nil? %>
$('#comment_reply_<%=@comment.id %>').html("<%= escape_javascript(render :partial => 'users/comment_reply', :locals => {:comment => @comment.parent})%>");
<% end %>