Sha256: 085072315f5842c9bc3ec652e691519703fc0b6b27817c267b28b6c74b493709

Contents?: true

Size: 519 Bytes

Versions: 3

Compression:

Stored size: 519 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_callback %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
commontator-0.2.4 app/views/commontator/comments/create.js.erb~
commontator-0.2.0 app/views/commontator/comments/create.js.erb~
commontator-0.1.46 app/views/commontator/comments/create.js.erb~