FSN#41130 hint alleen toevoegen als deze er niet al in staat

svn path=/Website/branches/v2017.1/; revision=34530
This commit is contained in:
2017-07-05 11:44:50 +00:00
parent c9056da209
commit c806315005

View File

@@ -276,10 +276,14 @@ function validateForm(fName, params)
{
hint = spantitle[0].getAttribute("title");
if (hint == '')
{
hint = L("lcl_shared_validator_format");
}
validatorHint.push((spantitle[0].textContent || spantitle[0].innerText) + ' ' + hint);
hint = (spantitle[0].textContent || spantitle[0].innerText) + ' ' + hint
// FSN#41130, voorkomen van dubbele hint's
// door datum-validatie wordt _isGoodTextFormat() 2x doorlopen
if ($.inArray(hint, validatorHint) == -1)
validatorHint.push(hint);
}
vIsGood = false;
}