diff --git a/app/views/contests/_mamager_setting.html.erb b/app/views/contests/_mamager_setting.html.erb
index 19c97d6fc..86d5c5c95 100644
--- a/app/views/contests/_mamager_setting.html.erb
+++ b/app/views/contests/_mamager_setting.html.erb
@@ -2,7 +2,7 @@
-
- - <%= link_to !@contest.is_public ? "设为公开" : "设为私有", {:controller => 'contests', :action => 'private_or_public', :id => @contest},:remote=>true,:confirm=>"您确定要设置为"+(!@contest.is_public ? "公开" : "私有")+"吗", :class => "postOptionLink" %>
+ - <%= !@contest.is_public ? '设为公开' : '设为私有'%>
<% if @contest.invite_code_halt == 0 %>
- 暂停加入
<% elsif @contest.invite_code_halt == 1 %>
diff --git a/app/views/contests/private_or_public.js.erb b/app/views/contests/private_or_public.js.erb
index dff4ba2b1..45ff0d1a0 100644
--- a/app/views/contests/private_or_public.js.erb
+++ b/app/views/contests/private_or_public.js.erb
@@ -1,3 +1,4 @@
+hideModal();
$("#contest_base_info").html('<%=escape_javascript(render :partial=>'contests/contest_base_info') %>');
if(document.getElementById("contest_is_public")) {
<% if !@contest.is_public %>