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;