Commit 1d5aef63 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Code tweaks.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5574 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3cad66bd
......@@ -37,7 +37,7 @@ public class ParamUtils {
* @param request the HttpServletRequest object, known as "request" in a
* JSP page.
* @param name the name of the parameter you want to get
* @param emptyStringsOK teturn the parameter values even if it is an empty string.
* @param emptyStringsOK return the parameter values even if it is an empty string.
* @return the value of the parameter or null if the parameter was not
* found.
*/
......
......@@ -31,7 +31,7 @@
boolean edit = request.getParameter("edit") != null;
boolean cancel = request.getParameter("cancel") != null;
String name = ParamUtils.getParameter(request, "name");
String description = ParamUtils.getParameter(request, "description");
String description = ParamUtils.getParameter(request, "description", true);
Map<String, String> errors = new HashMap<String, String>();
......
......@@ -299,7 +299,7 @@
<!-- BEGIN group name and description -->
<div class="jive-contentBox-plain">
<div class="jive-contentBox-toolbox">
<a href="group-create.jsp?group=<%= URLEncoder.encode(group.getName(), "UTF-8")%>&name=<%= URLEncoder.encode(group.getName(), "UTF-8")%>&description=<%= URLEncoder.encode(group.getDescription(), "UTF-8")%>" class="jive-link-edit"><fmt:message key="group.edit.edit_details" /></a>
<a href="group-create.jsp?group=<%= URLEncoder.encode(group.getName(), "UTF-8")%>&name=<%= URLEncoder.encode(group.getName(), "UTF-8")%>&description=<%= group.getDescription() != null? URLEncoder.encode(group.getDescription(), "UTF-8") : "" %>" class="jive-link-edit"><fmt:message key="group.edit.edit_details" /></a>
<a href="group-delete.jsp?group=<%= URLEncoder.encode(group.getName(), "UTF-8")%>" class="jive-link-delete"><fmt:message key="group.edit.delete" /></a>
</div>
......@@ -344,7 +344,7 @@
<b><fmt:message key="group.edit.share_display_name" /></b>
<input type="text" name="groupDisplayName" size="30" maxlength="100" value="<%= (groupDisplayName != null ? groupDisplayName : "") %>"><br>
<% if (errors.get("groupDisplayName") != null) { %>
<span class="jive-error-text"><fmt:message key="group.edit.share_display_name" /></span>
<span class="jive-error-text"><fmt:message key="group.edit.share_display_name" /></span><br/>
<% } %>
<script type="text/javascript" language="JavaScript">
function toggleRosterShare() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment