Sha256: 0e355d014c034dd610f203bf0d9528e482ded53ae2cbfa203abb09ada2be0b25

Contents?: true

Size: 403 Bytes

Versions: 4

Compression:

Stored size: 403 Bytes

Contents

<% if @comment.nil? || !@comment.persisted? %>
  $("#commontator-thread-<%= @commontator_thread.id %>-new-comment").hide();

  $("#commontator-thread-<%= @commontator_thread.id %>-new-comment-link").fadeIn();
<% else %>
  $("#commontator-comment-<%= @comment.id %>-body").html("<%= escape_javascript(
    render partial: 'body', locals: { comment: @comment }
  ) %>");
<% end %>

<%= javascript_proc %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
commontator-6.0.1 app/views/commontator/comments/cancel.js.erb
commontator-6.0.0 app/views/commontator/comments/cancel.js.erb
commontator-6.0.0.pre.2 app/views/commontator/comments/cancel.js.erb
commontator-6.0.0.pre.1 app/views/commontator/comments/cancel.js.erb