Files
fetsite/app/views/comments/create.js.erb
2015-08-01 12:03:01 +02:00

3 lines
210 B
Plaintext

$("#<%= divid_for(@comment.parent_object,"newform") %>").html("")
$("#<%= Comment.wrapid_for(@comment.parent_object) %>").html("<%= escape_javascript render partial:"comments/comments", object: @comments %>")