From dcd34e1098569b67eea2d9b083bc5ef589b31284 Mon Sep 17 00:00:00 2001 From: cxt Date: Thu, 29 Jun 2017 16:55:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E4=BA=A4=E9=99=84=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E5=A1=AB=E5=86=99=E7=90=86=E7=94=B1=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E7=A1=AE=E5=AE=9A=EF=BC=8C=E9=A1=B5=E9=9D=A2=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E7=BB=99=E5=87=BA=E4=BB=BB=E4=BD=95=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/student_work/show.html.erb b/app/views/student_work/show.html.erb index 741267c5a..3180ba0e3 100644 --- a/app/views/student_work/show.html.erb +++ b/app/views/student_work/show.html.erb @@ -191,10 +191,10 @@ } function regex_des() { if ($.trim($("#attachment_des").val()) == "") { - $("#hint_message").text("补交理由不能为空"); + $("#hint_message").html("补交理由不能为空").show(); return false; } else { - $("#hint_message").text(""); + $("#hint_message").html("").hide(); return true; } }