Explorar el Código

new check_configure_kerio_buisness_mail.tpl

andre hace 6 meses
padre
commit
8f9955c343
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      check_configure_kerio_buisness_mail.tpl

+ 4 - 4
check_configure_kerio_buisness_mail.tpl

@@ -4,10 +4,10 @@
 </style>
 
 <script>
-    function is_domain(str) {
-        const regexp = /^[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,6}$/;
-        return regexp.test(str);
-    }
+function is_domain(str) {
+  const regexp = /^[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,6}$/i;
+  return regexp.test(str);
+}
     function checkInput (domain, pid) {
         var xhttp = new XMLHttpRequest();
         var success = false;