This commit is contained in:
2015E8018661112 2015-12-09 08:01:11 +08:00
parent a978ac5bfa
commit c0c10c3913
4 changed files with 0 additions and 14 deletions

View File

@ -1,4 +0,0 @@
- if @result[:status]
$("#article_comment_content").val('');
$('#no_comments').remove();
$("#paginate").prepend("#{escape_javascript(render partial: 'articles/comment', locals: {comment: @comment})}");

View File

@ -1,3 +0,0 @@
- if @result[:status]
:plain
$("#comment_#{@comment.id}").remove();

View File

@ -1,3 +0,0 @@
:plain
$("#comment_form").html("#{escape_javascript(render partial: 'articles/comment_form')}");
location.hash = "#comment_form";

View File

@ -1,4 +0,0 @@
- if @result[:status]
:plain
$("#comment_#{@comment.id}_body").html("#{@comment.content}");
location.hash = "#comment_#{@comment.id}";