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

SVN:trunk[3422]
This commit is contained in:
Denis Flaven
2014-11-18 17:25:08 +00:00
parent 9ca051d9d0
commit ca90f9b32a

View File

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