http://issues.alfresco.com/browse/AWC-1260
http://issues.alfresco.com/browse/AWC-1170
Improvement of alignment for pop-up panel - was rendering off the top of the screen if the preview text was very large vertically.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5877 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-06-07 10:46:36 +00:00
parent 4532170872
commit f50258fa99
4 changed files with 17 additions and 4 deletions

View File

@@ -613,6 +613,7 @@ public final class SearchContext implements Serializable
}
else
{
if (value.length() == 1) return; // handle just opcode
prefix = STR_OP_WILDCARD;
safeValue = QueryParser.escape(value.substring(1, value.length() - 1));
}

View File

@@ -168,11 +168,11 @@ public class UIPanel extends UICommand
if (isExpanded() == true)
{
out.write(Utils.buildImageTag(context, WebResources.IMAGE_EXPANDED, 11, 11, label));
out.write(Utils.buildImageTag(context, WebResources.IMAGE_EXPANDED, 11, 11, getLabel()));
}
else
{
out.write(Utils.buildImageTag(context, WebResources.IMAGE_COLLAPSED, 11, 11, label));
out.write(Utils.buildImageTag(context, WebResources.IMAGE_COLLAPSED, 11, 11, getLabel()));
}
out.write("</a>&nbsp;&nbsp;");