mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.1 to HEAD
13867: Fix for ETHREEOH-986 - long names in Explorer details view show correct width in FF browser 13869: Fixes for ETHREEOH-1387 and ETHREEOH-1390 13872: Fix for issue where custom-web-framework-application-context should be optional in the web.xml for web-framework project. 13909: Fix for ETHREEOH-1684 13910: Fix for ETHREEOH-1266 14015: Fixes for ETHREEOH-1864 and ETHREEOH-1840 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14020 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -349,6 +349,15 @@ public class SubmitDialog extends BaseDialogBean
|
||||
|
||||
String submitLabel = this.label;
|
||||
String submitComment = this.comment;
|
||||
// crop to maximum length
|
||||
if (submitLabel != null && submitLabel.length() > 255)
|
||||
{
|
||||
submitLabel = submitLabel.substring(0, 255);
|
||||
}
|
||||
if (submitComment != null && submitComment.length() > 255)
|
||||
{
|
||||
submitComment = submitComment.substring(0, 255);
|
||||
}
|
||||
|
||||
// note: always submit via workflow (if no workflow selected, then defaults to direct submit workflow)
|
||||
getSandboxService().submitListAssets(sbStoreId, relativePaths,
|
||||
|
@@ -568,11 +568,11 @@ public final class Utils extends StringUtils
|
||||
if (alt != null)
|
||||
{
|
||||
alt = Utils.encode(alt);
|
||||
buf.append(" alt='")
|
||||
buf.append(" alt=\"")
|
||||
.append(alt)
|
||||
.append("' title='")
|
||||
.append("\" title=\"")
|
||||
.append(alt)
|
||||
.append("'");
|
||||
.append("\"");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -653,11 +653,11 @@ public final class Utils extends StringUtils
|
||||
if (alt != null)
|
||||
{
|
||||
alt = Utils.encode(alt);
|
||||
buf.append(" alt='")
|
||||
buf.append(" alt=\"")
|
||||
.append(alt)
|
||||
.append("' title='")
|
||||
.append("\" title=\"")
|
||||
.append(alt)
|
||||
.append("'");
|
||||
.append('"');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -270,9 +270,9 @@ public class ActionLinkRenderer extends BaseRenderer
|
||||
}
|
||||
if (link.getTooltip() != null)
|
||||
{
|
||||
out.write(" title='");
|
||||
out.write(" title=\"");
|
||||
out.write(Utils.encode(link.getTooltip()));
|
||||
out.write("'");
|
||||
out.write('"');
|
||||
}
|
||||
out.write('>');
|
||||
}
|
||||
|
@@ -311,9 +311,9 @@ public class ImagePickerRadioRenderer extends BaseRenderer
|
||||
|
||||
if (tooltip != null)
|
||||
{
|
||||
out.write(" title='");
|
||||
out.write(" title=\"");
|
||||
out.write(Utils.encode(tooltip));
|
||||
out.write("'");
|
||||
out.write('"');
|
||||
}
|
||||
|
||||
if (onclick != null)
|
||||
@@ -323,11 +323,6 @@ public class ImagePickerRadioRenderer extends BaseRenderer
|
||||
out.write("'");
|
||||
}
|
||||
|
||||
// if (item.isDisabled())
|
||||
// {
|
||||
// out.write(" disabled='true'");
|
||||
// }
|
||||
|
||||
out.write(">");
|
||||
out.write("</td><td align='center'>");
|
||||
|
||||
|
Reference in New Issue
Block a user