From 3fe2e81c0e56e37350c2ce9f1a60ae9b74fb3d94 Mon Sep 17 00:00:00 2001 From: cxt Date: Thu, 21 Apr 2016 17:01:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E8=AF=84=E5=88=86=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E6=97=B6=E6=AF=94=E4=BE=8BNAN?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_user_homework_form.html.erb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/views/users/_user_homework_form.html.erb b/app/views/users/_user_homework_form.html.erb index 9689ecda0..a6c7236df 100644 --- a/app/views/users/_user_homework_form.html.erb +++ b/app/views/users/_user_homework_form.html.erb @@ -15,6 +15,11 @@ <% if edit_mode && homework.is_group_homework? %> $("#GroupPopupBox a.group_save_btn").click(); <% end %> + <% if edit_mode %> + $("#anonymous_comment").on('click',function(){ + $("#anonymous_hint").show(); + }); + <% end %> }); function checked_val() { if ($("#anonymous_comment").is(":checked")) { @@ -174,7 +179,8 @@ <% if !edit_mode || edit_mode && homework.homework_detail_manual.comment_status < 2 %>
- 禁用匿评 + 禁用匿评 +
<% end %>