andre 4 лет назад
Родитель
Сommit
113b8a97e8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      checkconfigureproduct.tpl

+ 1 - 1
checkconfigureproduct.tpl

@@ -37,7 +37,7 @@
     };
     jQuery(document).ready(function(){
         customFields = $("*[id^='customfield']");
-        if (checkMailAddress( $(customFields[2]).val(), $(customFields[3]).val(), {$productinfo['pid']})) {
+        if (checkMailAddress( $(customFields[2]).val(), $(customFields[3]).val(), {$productinfo['pid']}) == true) {
             $("#btnCompleteProductConfig").prop("disabled",false);
             console.log('Form already filled');
         } else {