mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user