From 0603e5e63e15a881f4cef4242d06b33fd9ab3f8c Mon Sep 17 00:00:00 2001 From: 2015E8018661112 <794811315@qq.com> Date: Mon, 21 Dec 2015 11:17:26 +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