Sha256: 10dd623df01d4403444c637b3c5cd18cdc61e74a2f6f42177f60bfc48c168a2c

Contents?: true

Size: 524 Bytes

Versions: 2

Compression:

Stored size: 524 Bytes

Contents

<% @thread.comments.each do |comment| %>
  $("#comment_<%= comment.id.to_s %>_actions_span").html("<%= escape_javascript(
    render :partial => 'actions',
           :locals => {:comment => comment}) %>");
<% end %>

$("#thread_<%= @thread.id %>_comment_list_div").append("<%= escape_javascript(
  render :partial => 'show',
         :locals => {:comment => @comment}) %>");

$("#thread_<%= @thread.id %>_new_comment_div").hide();

$("#thread_<%= @thread.id %>_new_comment_link_span").show();

<%= javascript_proc(self) %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
commontator-0.4.1 app/views/commontator/comments/create.js.erb~
commontator-0.3.10 app/views/commontator/comments/create.js.erb~