From ea6047c11411720bfe8a850362abc94f00d23f13 Mon Sep 17 00:00:00 2001 From: louant Date: Tue, 21 Jun 2016 17:19:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/forums/index.html.erb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/views/forums/index.html.erb b/app/views/forums/index.html.erb index 967a69a95..705c7d936 100644 --- a/app/views/forums/index.html.erb +++ b/app/views/forums/index.html.erb @@ -96,13 +96,11 @@ $("#error").html("").hide(); check_pass = true; name = $("textarea[name='forum[name]']").val().trim(); - alert(name) if( name != ""){ $.get( '<%= check_forum_name_forums_path %>', {"forum_name":encodeURIComponent(name)}, function(data){ - alert(data) if( data == 'true'){ $("#error").html("贴吧名称已经存在").show(); check_pass = false;