Explorar o código

new check_configure_kerio_buisness_mail.tpl

andre hai 6 meses
pai
achega
1b10875bff
Modificáronse 1 ficheiros con 10 adicións e 8 borrados
  1. 10 8
      check_configure_kerio_buisness_mail.tpl

+ 10 - 8
check_configure_kerio_buisness_mail.tpl

@@ -46,14 +46,16 @@
             $(customFields[0]).css('background-color', '');
             $(customFields[0]).css('background-color', '');
         });
         });
         $(checkBoxHelper[0]).click(function () {
         $(checkBoxHelper[0]).click(function () {
-            if ($(checkBox[0]).hasClass('checked')) {
-                console.log(checkBox[0]).id);
-                $("#btnCompleteProductConfig").prop("disabled",false);
-            } else {
-                console.log(checkBox[0]).id);
-                $("#btnCompleteProductConfig").prop("disabled",true);
-            }
-            checkDomain( $(customFields[0]).val().trim(), {$productinfo['pid']});
+            setTimeout(function () {
+                if ($(checkBox[0]).hasClass('checked')) {
+                    console.log(checkBox[0]).id);
+                    $("#btnCompleteProductConfig").prop("disabled",false);
+                } else {
+                    console.log(checkBox[0]).id);
+                    $("#btnCompleteProductConfig").prop("disabled",true);
+                }
+                checkDomain( $(customFields[0]).val().trim(), {$productinfo['pid']});
+            }, 1);
         });
         });
         $(checkBoxHelper[0]).hover (function () {
         $(checkBoxHelper[0]).hover (function () {
             $("#hint").text('Akzeptieren Sie die erweiterten Nutzungsbedingungen');
             $("#hint").text('Akzeptieren Sie die erweiterten Nutzungsbedingungen');