From 23b04a10e22e596e921a739001eece402258b528 Mon Sep 17 00:00:00 2001 From: 2015E8018661112 <794811315@qq.com> Date: Wed, 23 Dec 2015 18:06:54 +0800 Subject: [PATCH] update --- app/views/edit.js.haml | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 app/views/edit.js.haml diff --git a/app/views/edit.js.haml b/app/views/edit.js.haml new file mode 100755 index 0000000..9b4577f --- /dev/null +++ b/app/views/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