after installing an SSL certificate from the control panel the page wasn't being refreshed, broken in ec73c171c7

This commit is contained in:
Joshua Tauberer
2015-05-28 18:45:53 +00:00
parent 564040897f
commit 4fa58169f1
3 changed files with 8 additions and 6 deletions
+2 -1
View File
@@ -110,7 +110,8 @@ function install_cert() {
chain: $('#ssl_paste_chain').val()
},
function(status) {
if (status == "") {
if (/^OK($|\n)/.test(status)) {
console.log(status)
show_modal_error("SSL Certificate Installation", "Certificate has been installed. Check that you have no connection problems to the domain.", function() { show_ssl(); $('#csr_info').slideUp(); });
} else {
show_modal_error("SSL Certificate Installation", status);