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

new check_configure_kerio_buisness_mail.tpl

andre 7 сар өмнө
parent
commit
f2d14548f8

+ 1 - 1
check_configure_kerio_buisness_mail.tpl

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