Sha256: 2963654feeec4e32d59c533b1324809f2af88fd842dbd7be73cdec97305f049b

Contents?: true

Size: 569 Bytes

Versions: 3

Compression:

Stored size: 569 Bytes

Contents

var $comment = $("<%= j render_comment_item(@comment) %>");
var $comments_list = $('ul#comments_list');
var $form = $('form#comment_form');
var $comment_block = $('div#comments_block');

$comments_list.append($comment);
$form.hide();

var $li_bg = $comment.find('.new_comment_indicator');
$li_bg.css("display","block").fadeOut(10000);

$comment_block.find('h2.title span').text("<%= @comments_count %>");
$('div.fact_time_issue a.comments')
        .attr('title','Комментариев: <%= @comments_count %>')
        .find('span').text("<%= @comments_count %>");

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
c80_news_tz-0.1.1.26 app/views/c80_news_tz/comments/created.js.erb
c80_news_tz-0.1.1.25 app/views/c80_news_tz/comments/created.js.erb
c80_news_tz-0.1.1.24 app/views/c80_news_tz/comments/created.js.erb