|
@@ -33,11 +33,12 @@
|
|
|
};
|
|
};
|
|
|
xhttp.open("GET", "modules/servers/zimbraSingle/zimbraAddressAvailable.php?name=" + mailname + '&domain=' + maildomain + '&pid=' + pid, true);
|
|
xhttp.open("GET", "modules/servers/zimbraSingle/zimbraAddressAvailable.php?name=" + mailname + '&domain=' + maildomain + '&pid=' + pid, true);
|
|
|
xhttp.send();
|
|
xhttp.send();
|
|
|
|
|
+ console.log(success);
|
|
|
return success;
|
|
return success;
|
|
|
};
|
|
};
|
|
|
jQuery(document).ready(function(){
|
|
jQuery(document).ready(function(){
|
|
|
customFields = $("*[id^='customfield']");
|
|
customFields = $("*[id^='customfield']");
|
|
|
- if (checkMailAddress( $(customFields[2]).val(), $(customFields[3]).val(), {$productinfo['pid']}) == true) {
|
|
|
|
|
|
|
+ if (checkMailAddress( $(customFields[2]).val(), $(customFields[3]).val(), {$productinfo['pid']}) && ($(customFields[5]).val() == $(customFields[4]).val())) {
|
|
|
$("#btnCompleteProductConfig").prop("disabled",false);
|
|
$("#btnCompleteProductConfig").prop("disabled",false);
|
|
|
console.log('Form already filled');
|
|
console.log('Form already filled');
|
|
|
} else {
|
|
} else {
|