Переглянути джерело

check form if already filled

andre 4 роки тому
батько
коміт
d1e7521ccc
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      checkconfigureproduct.tpl

+ 1 - 1
checkconfigureproduct.tpl

@@ -37,7 +37,7 @@
         $("#btnCompleteProductConfig").prop("disabled",true);
         $(customFields[4]).val('');
         $(customFields[5]).val('');
-        if ($(customFields[3]).val().length > 0) {
+        if ($(customFields[2]).val().length > 0) {
             checkMailAddress( $(customFields[2]).val(), $(customFields[3]).val(), {$productinfo['pid']});
         }
         $(customFields[4]).prop("disabled",true);