Sha256: aa136b43c86b17196cf703d85e2bb2b9da4a0d55509fb2169bdaed96ba358a76

Contents?: true

Size: 594 Bytes

Versions: 22

Compression:

Stored size: 594 Bytes

Contents

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

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

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

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

<%= javascript_proc %>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
commontator-4.1.2 app/views/commontator/comments/create.js.erb
commontator-4.1.1 app/views/commontator/comments/create.js.erb
commontator-4.0.2 app/views/commontator/comments/create.js.erb
commontator-2.0.2 app/views/commontator/comments/create.js.erb
commontator-4.0.1 app/views/commontator/comments/create.js.erb
commontator-4.0.0 app/views/commontator/comments/create.js.erb
commontator-2.0.1 app/views/commontator/comments/create.js.erb
commontator-2.0.0 app/views/commontator/comments/create.js.erb
commontator-1.1.3 app/views/commontator/comments/create.js.erb
commontator-1.1.2 app/views/commontator/comments/create.js.erb
commontator-1.1.1 app/views/commontator/comments/create.js.erb
commontator-1.1.0 app/views/commontator/comments/create.js.erb
commontator-1.0.6 app/views/commontator/comments/create.js.erb
commontator-1.0.5 app/views/commontator/comments/create.js.erb
commontator-1.0.4 app/views/commontator/comments/create.js.erb
commontator-1.0.3 app/views/commontator/comments/create.js.erb
commontator-1.0.2 app/views/commontator/comments/create.js.erb
commontator-1.0.1 app/views/commontator/comments/create.js.erb
commontator-1.0.0 app/views/commontator/comments/create.js.erb
commontator-0.5.14 app/views/commontator/comments/create.js.erb