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

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);