Sha256: eb99658bfa3ce643f2e307ea8156cb5d6e757454485cd5a3f977725fad91884f

Contents?: true

Size: 812 Bytes

Versions: 4

Compression:

Stored size: 812 Bytes

Contents

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

$("#comment_<%= @comment.id.to_s %>_updated_timestamp_span").html("<%= escape_javascript(
  "#{@comment.updated_timestamp} by #{commontator_name(@comment.editor)}") %>");
                                                           
$("#comment_<%= @comment.id.to_s %>_actions_span").html("<%= escape_javascript(
  render :partial => 'actions',
         :locals => {:comment => @comment,
                     :user => @user}) %>");
         
$("#comment_<%= @comment.id %>_votes_span").html("<%= escape_javascript(
  render :partial => 'votes',
         :locals => {:comment => @comment,
                     :user => @user}) %>");

$("#error_explanation").remove();

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
commontator-4.5.3 app/views/commontator/comments/delete.js.erb~
commontator-4.2.2 app/views/commontator/comments/delete.js.erb~
commontator-4.2.1 app/views/commontator/comments/delete.js.erb~
commontator-4.2.0 app/views/commontator/comments/delete.js.erb~