Explorar o código

new check_configure_kerio_buisness_mail.tpl

andre hai 6 meses
pai
achega
44a3e1689a
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      check_configure_kerio_buisness_mail.tpl

+ 0 - 4
check_configure_kerio_buisness_mail.tpl

@@ -6,14 +6,10 @@
             if (this.readyState == 4 && this.status == 200) {
             if (this.readyState == 4 && this.status == 200) {
                 if( this.responseText.trim() == 'yes') {
                 if( this.responseText.trim() == 'yes') {
                     console.log(this.responseText);
                     console.log(this.responseText);
-                    $(customFields[0]).addClass('has-success');
-                    $(customFields[0]).removeClass('has-error');
                     $(customFields[0]).css('background-color', '#0f03');;
                     $(customFields[0]).css('background-color', '#0f03');;
                     $("#hint").text('');
                     $("#hint").text('');
                 } else {
                 } else {
                     console.log(this.responseText);
                     console.log(this.responseText);
-                    $(customFields[0]).addClass('has-error');
-                    $(customFields[0]).removeClass('has-success');
                     $(customFields[0]).css('background-color', '#f003');;
                     $(customFields[0]).css('background-color', '#f003');;
                     $("#hint").text('Domain ' + $(customFields[0]).val() + ' nicht verfügbar!');
                     $("#hint").text('Domain ' + $(customFields[0]).val() + ' nicht verfügbar!');
                 }
                 }