|
|
@@ -29,7 +29,7 @@
|
|
|
customFields = $("*[id^='customfield']");
|
|
|
checkBoxHelper = $("*[class^='iCheck-helper']");
|
|
|
checkBox = $("*[id°='iCheck-customfield']")
|
|
|
- console.log(checkBox[0]).id);
|
|
|
+ console.log(checkBox[0].id);
|
|
|
$("#btnCompleteProductConfig").prop("disabled",true);
|
|
|
$(customFields[0]).val(''); // domain
|
|
|
$(checkBox[0]).removeClass('checked'); // checkbox
|
|
|
@@ -49,10 +49,10 @@
|
|
|
$(checkBoxHelper[0]).click(function () {
|
|
|
setTimeout(function () {
|
|
|
if ($(checkBox[0]).hasClass('checked')) {
|
|
|
- console.log(checkBox[0]).id);
|
|
|
+ console.log(checkBox[0].id);
|
|
|
$("#btnCompleteProductConfig").prop("disabled",false);
|
|
|
} else {
|
|
|
- console.log(checkBox[0]).id);
|
|
|
+ console.log(checkBox[0].id);
|
|
|
$("#btnCompleteProductConfig").prop("disabled",true);
|
|
|
}
|
|
|
checkDomain( $(customFields[0]).val().trim(), {$productinfo['pid']});
|