From 7663db693a3919a7d5f64588901704e48e40218a Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Tue, 22 Sep 2015 17:30:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E5=B8=96=E5=AD=90=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=80=99=E5=8F=96=E6=B6=88=20=EF=BC=8C=E6=B8=85?= =?UTF-8?q?=E7=A9=BA=E5=8E=9F=E6=9D=A5=E8=BE=93=E5=85=A5=E7=9A=84=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/forums/show.html.erb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/views/forums/show.html.erb b/app/views/forums/show.html.erb index 169b35d39..6a061d2b3 100644 --- a/app/views/forums/show.html.erb +++ b/app/views/forums/show.html.erb @@ -73,6 +73,14 @@ } return true; } + + function create_cancle(){ + $('#create_memo_div').slideToggle(); + $('#create_memo_btn').slideToggle(); + $('#memo_subject').val(''); + $('#memo_content').val('') + $('#error').html('').hide(); + }
<% end %>