delete
This commit is contained in:
parent
a978ac5bfa
commit
c0c10c3913
|
@ -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})}");
|
|
@ -1,3 +0,0 @@
|
|||
- if @result[:status]
|
||||
:plain
|
||||
$("#comment_#{@comment.id}").remove();
|
|
@ -1,3 +0,0 @@
|
|||
:plain
|
||||
$("#comment_form").html("#{escape_javascript(render partial: 'articles/comment_form')}");
|
||||
location.hash = "#comment_form";
|
|
@ -1,4 +0,0 @@
|
|||
- if @result[:status]
|
||||
:plain
|
||||
$("#comment_#{@comment.id}_body").html("#{@comment.content}");
|
||||
location.hash = "#comment_#{@comment.id}";
|
Loading…
Reference in New Issue