소스 검색

auto update script executed

Toby Chui 1 년 전
부모
커밋
3fa6beef85
1개의 변경된 파일7개의 추가작업 그리고 4개의 파일을 삭제
  1. 7 4
      web/components/rules.html

+ 7 - 4
web/components/rules.html

@@ -172,7 +172,7 @@
                     //OK
                     listVdirs();
                     listSubd();
-                    msgbox("Proxy Endpoint Added");
+                   
 
                     //Clear old data
                     $("#rootname").val("");
@@ -185,10 +185,13 @@
                         confirmBox("Request new SSL Cert for this subdomain?", function(choice){
                             if (choice == true){
                                 //Get a new cert using ACME
+                                msgbox("Requesting certificate via Let's Encrypt");
                                 console.log("Trying to get a new certificate via ACME");
                                 obtainCertificate(rootname);
                             }
                         });
+                    }else{
+                        msgbox("Proxy Endpoint Added");
                     }
                 }
             }
@@ -498,16 +501,16 @@
                     // Show error message
                     msgbox(response.error, false, 12000);
                 } else {
-                    console.log("Certificate renewed successfully");
+                    console.log("Certificate installed successfully");
                     // Show success message
-                    msgbox("Certificate renewed successfully");
+                    msgbox("Certificate installed successfully");
                     
                     // Renew the parent certificate list
                     initManagedDomainCertificateList();
                 }
             },
             error: function(error) {
-                console.log("Failed to renewed certificate:", error);
+                console.log("Failed to install certificate:", error);
             }
         });
     }