From 35773049cc3d60dab9193d6ffcd3601ef28ea89f Mon Sep 17 00:00:00 2001 From: cxt Date: Mon, 5 Jun 2017 16:24:26 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8F=AD=E7=BA=A7=E8=AE=A8=E8=AE=BA=E5=8C=BA?= =?UTF-8?q?=E5=8F=91=E5=B8=96=E7=9A=84=E2=80=9C=E7=BD=AE=E9=A1=B6=E2=80=9D?= =?UTF-8?q?=E5=92=8C=E2=80=9C=E9=94=81=E5=AE=9A=E2=80=9D=E7=9A=84=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E6=A1=86=E9=9C=80=E8=A6=81=E6=94=B9=E4=B8=BA=E6=96=B0?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/boards/_course_new.html.erb | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/views/boards/_course_new.html.erb b/app/views/boards/_course_new.html.erb index 1c3de51e0..56014f062 100644 --- a/app/views/boards/_course_new.html.erb +++ b/app/views/boards/_course_new.html.erb @@ -8,8 +8,7 @@ if(!regexTopicSubject()) { result=false; return result; - } - if(params.content!=undefined){ + } else if(params.content!=undefined){ if(params.content.isEmpty()){ result=false; } @@ -128,10 +127,10 @@