+
+
+
+
+
+
<%-- wrapper comment used by the panel to add additional component facets --%>
diff --git a/source/web/jsp/forums/forums-details.jsp b/source/web/jsp/forums/forums-details.jsp
index f2a64f3325..ab10ae0a8a 100644
--- a/source/web/jsp/forums/forums-details.jsp
+++ b/source/web/jsp/forums/forums-details.jsp
@@ -104,6 +104,26 @@
+
+
+
+
+
+
<%-- wrapper comment used by the panel to add additional component facets --%>
diff --git a/source/web/jsp/forums/topic-details.jsp b/source/web/jsp/forums/topic-details.jsp
index 58de0f95be..969b7c9863 100644
--- a/source/web/jsp/forums/topic-details.jsp
+++ b/source/web/jsp/forums/topic-details.jsp
@@ -105,6 +105,26 @@
+
+
+
+
+
+
<%-- wrapper comment used by the panel to add additional component facets --%>
diff --git a/source/web/jsp/spaces/create-space-dialog.jsp b/source/web/jsp/spaces/create-space-dialog.jsp
index a4229d133c..727cfc71c0 100644
--- a/source/web/jsp/spaces/create-space-dialog.jsp
+++ b/source/web/jsp/spaces/create-space-dialog.jsp
@@ -20,13 +20,18 @@
<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
+
+
<%-- Create Space Dialog Fragment --%>
diff --git a/source/web/jsp/spaces/create-space-wizard/details.jsp b/source/web/jsp/spaces/create-space-wizard/details.jsp
index 73b5b2fd86..32cc2740fb 100644
--- a/source/web/jsp/spaces/create-space-wizard/details.jsp
+++ b/source/web/jsp/spaces/create-space-wizard/details.jsp
@@ -22,15 +22,20 @@
<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
+
+
+
+
+
+
diff --git a/source/web/scripts/validation.js b/source/web/scripts/validation.js
index e08aee6837..4d3ba46b73 100644
--- a/source/web/scripts/validation.js
+++ b/source/web/scripts/validation.js
@@ -102,3 +102,23 @@ function validateRegex(control, expression, requiresMatch, matchMessage, noMatch
return result;
}
+/**
+ * Ensures the value of the 'control' does not contain any illegal characters.
+ *
+ * @return true if the file name is valid
+ */
+function validateName(control, message, showMessage)
+{
+ var result = true;
+ var pattern = /[\"\*\\\>\<\?\/\:\|\%\&\+\;\xA3\xAC]+/;
+
+ var idx = control.value.search(pattern);
+ if (idx != -1)
+ {
+ informUser(control, control.value.charAt(idx) + " " + message, showMessage);
+ result = false;
+ }
+
+ return result;
+}
+
| | |