From 7d450cfddbe450321bfb12edd5e41177452fb03c Mon Sep 17 00:00:00 2001 From: 2015E8018661112 <794811315@qq.com> Date: Wed, 16 Dec 2015 07:12:41 +0800 Subject: [PATCH] update --- app/views/comments/destroy.js.haml | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 app/views/comments/destroy.js.haml diff --git a/app/views/comments/destroy.js.haml b/app/views/comments/destroy.js.haml new file mode 100755 index 0000000..15d728b --- /dev/null +++ b/app/views/comments/destroy.js.haml @@ -0,0 +1,3 @@ +- if @result[:status] + :plain + $("#comment_#{@comment.id}").remove(); \ No newline at end of file