From f369ff59a54785ae6f96541461eab558cbbbf6cd Mon Sep 17 00:00:00 2001 From: 2015E8018661112 <794811315@qq.com> Date: Mon, 21 Dec 2015 16:22:17 +0800 Subject: [PATCH] update --- app/views/comments/edit.js.haml | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 app/views/comments/edit.js.haml diff --git a/app/views/comments/edit.js.haml b/app/views/comments/edit.js.haml new file mode 100755 index 0000000..9b4577f --- /dev/null +++ b/app/views/comments/edit.js.haml @@ -0,0 +1,3 @@ +:plain + $("#comment_form").html("#{escape_javascript(render partial: 'articles/comment_form')}"); + location.hash = "#comment_form"; \ No newline at end of file