Explorar o código

check form if already filled

andre %!s(int64=4) %!d(string=hai) anos
pai
achega
113b8a97e8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {