Sha256: dea3491e9e7ca3baf60bd01d04f97c4d1bace37c8511d7e3ddd3c19b46b0e5f2

Contents?: true

Size: 367 Bytes

Versions: 6

Compression:

Stored size: 367 Bytes

Contents

<% unless @comment.try(:id).blank? %>
  <% @comment.reload %>
  $("#comment_<%= @comment.id.to_s %>_body_div").html("<%= escape_javascript(
    render :partial => 'body', :locals => {:comment => @comment}) %>");
<% end %>

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

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

<%= javascript_proc %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
commontator-4.8.0 app/views/commontator/comments/cancel.js.erb
commontator-4.7.2 app/views/commontator/comments/cancel.js.erb
commontator-4.7.1 app/views/commontator/comments/cancel.js.erb
commontator-4.7.0 app/views/commontator/comments/cancel.js.erb
commontator-4.6.1 app/views/commontator/comments/cancel.js.erb
commontator-4.6.0 app/views/commontator/comments/cancel.js.erb