diff --git a/route/static/app/site.js b/route/static/app/site.js index 5f711f3c6..b9f89770c 100755 --- a/route/static/app/site.js +++ b/route/static/app/site.js @@ -1746,7 +1746,9 @@ function setCertSsl(certName,siteName){ var loadT = layer.msg('正在部署证书...',{icon:16,time:0,shade: [0.3, '#000']}); $.post('/site/set_cert_to_site',{certName:certName,siteName:siteName},function(rdata){ layer.close(loadT); - layer.msg(rdata.msg,{icon:rdata.status?1:2}); + showMsg(rdata.msg, function(){ + $(".tab-nav span:first-child").click(); + },{icon:rdata.status?1:2},2000); },'json'); } @@ -1768,39 +1770,6 @@ function setSSL(id,siteName){ opSSL('now',id,siteName); } - -function closeSSL(siteName){ - var loadT = layer.msg(lan.site.the_msg,{icon:16,time:0,shade: [0.3, '#000']}); - $.post('/site/get_ssl','siteName='+siteName,function(rdata){ - layer.close(loadT); - switch(rdata.data.type){ - case -1: - var txt = "
关闭SSL以后,请务必清除浏览器缓存再访问站点