- Re-enabled regular expression validation in JavaScript

- Changed regular expression definition for the name property in content model

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2809 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2006-05-10 13:49:29 +00:00
parent 8cd2a68717
commit 86c4748c10

View File

@@ -80,7 +80,6 @@ function validateRegex(control, expression, requiresMatch, matchMessage, noMatch
{
var result = true;
/*
var pattern = new RegExp(unescape(expression));
var matches = pattern.test(control.value);
@@ -97,7 +96,6 @@ function validateRegex(control, expression, requiresMatch, matchMessage, noMatch
result = false;
}
*/
return result;
}