Эх сурвалжийг харах

new check_configure_kerio_buisness_mail.tpl

andre 6 сар өмнө
parent
commit
fc018bccb5

+ 1 - 1
check_configure_kerio_buisness_mail.tpl

@@ -6,7 +6,7 @@
 <script>
 <script>
     function is_domain(str) {
     function is_domain(str) {
         console.log(str);
         console.log(str);
-        const regexp = /^[a-z0-9]+\.[a-z][a-z]+$/;
+        const regexp = /^[a-z0-9-]+\.[a-z][a-z]+$/;
         return regexp.test(str);
         return regexp.test(str);
     }
     }
     function checkInput (domain, pid) {
     function checkInput (domain, pid) {