Преглед изворни кода

new check_configure_kerio_buisness_mail.tpl

andre пре 6 месеци
родитељ
комит
fee3018fbd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      check_configure_kerio_buisness_mail.tpl

+ 1 - 1
check_configure_kerio_buisness_mail.tpl

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