mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
- Changed discussion icon from forum_large to forum
- Disabled regex validation git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2706 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -102,7 +102,7 @@ public class NewDiscussionWizard extends NewTopicWizard
|
||||
|
||||
// apply the uifacets aspect
|
||||
Map<QName, Serializable> uiFacetsProps = new HashMap<QName, Serializable>(5);
|
||||
uiFacetsProps.put(ContentModel.PROP_ICON, "forum_large");
|
||||
uiFacetsProps.put(ContentModel.PROP_ICON, "forum");
|
||||
this.nodeService.addAspect(forumNodeRef, ContentModel.ASPECT_UIFACETS, uiFacetsProps);
|
||||
|
||||
if (logger.isDebugEnabled())
|
||||
|
@@ -80,6 +80,7 @@ function validateRegex(control, expression, requiresMatch, matchMessage, noMatch
|
||||
{
|
||||
var result = true;
|
||||
|
||||
/*
|
||||
var pattern = new RegExp(unescape(expression));
|
||||
var matches = pattern.test(control.value);
|
||||
|
||||
@@ -96,6 +97,7 @@ function validateRegex(control, expression, requiresMatch, matchMessage, noMatch
|
||||
|
||||
result = false;
|
||||
}
|
||||
*/
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user