Sha256: a6f4010708cd04bee94517fd0b4865e41e20b0e7e039a35f97ae0dfc3462a8b7

Contents?: true

Size: 816 Bytes

Versions: 6

Compression:

Stored size: 816 Bytes

Contents

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

$("#comment_<%= @comment.id.to_s %>_timestamp_span").html("<%= escape_javascript(
  @comment.timestamp + (@comment.is_modified? ? " 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}) %>");

<%= javascript_proc %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
commontator-4.0.2 app/views/commontator/comments/delete.js.erb
commontator-2.0.2 app/views/commontator/comments/delete.js.erb
commontator-4.0.1 app/views/commontator/comments/delete.js.erb
commontator-4.0.0 app/views/commontator/comments/delete.js.erb
commontator-2.0.1 app/views/commontator/comments/delete.js.erb
commontator-2.0.0 app/views/commontator/comments/delete.js.erb