Преглед изворни кода

check form if already filled

andre пре 4 година
родитељ
комит
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 {