Explorar o código

Oops, typo in "Prevent the JS validation (on focus) to create multiple entries for the same field, since it breaks the validation."

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3422 a333f486-631f-4898-b8df-5754b55c2be0
dflaven %!s(int64=10) %!d(string=hai) anos
pai
achega
55f7dc5e5a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      js/property_field.js

+ 1 - 1
js/property_field.js

@@ -267,7 +267,7 @@ function ValidateWithPattern(sFieldId, bMandatory, sPattern, sFormId, aForbidden
 	{
 		$('#v_'+sFieldId).addClass('ui-state-error');
 		iFieldIdPos = jQuery.inArray(sFieldId, oFormValidation[sFormId]);
-		if (iFieldPos == -1)
+		if (iFieldIdPos == -1)
 		{
 			oFormValidation[sFormId].push(sFieldId);			
 		}