mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
AWC-1095: UI issues with OpenSearch sidebar component
Added missing string from properties file as reported on forums git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4962 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -99,6 +99,30 @@ public class UIOpenSearch extends SelfRenderingComponent
|
||||
out.write("</script>\n");
|
||||
|
||||
// write out the HTML
|
||||
String styleClass = (String)this.getAttributes().get("styleClass");
|
||||
String style = (String)this.getAttributes().get("style");
|
||||
|
||||
if (styleClass != null || style != null)
|
||||
{
|
||||
out.write("<div");
|
||||
|
||||
if (styleClass != null && styleClass.length() > 0)
|
||||
{
|
||||
out.write(" class='");
|
||||
out.write(styleClass);
|
||||
out.write("'");
|
||||
}
|
||||
|
||||
if (style != null && style.length() > 0)
|
||||
{
|
||||
out.write(" style='");
|
||||
out.write(style);
|
||||
out.write("'");
|
||||
}
|
||||
|
||||
out.write(">\n");
|
||||
}
|
||||
|
||||
out.write("<div class='osPanel'><div class='osControls'>");
|
||||
out.write("<table border='0' cellpadding='2' cellspacing='0'><tr>");
|
||||
out.write("<td><input id='");
|
||||
@@ -160,6 +184,11 @@ public class UIOpenSearch extends SelfRenderingComponent
|
||||
out.write("<div id='");
|
||||
out.write(clientId);
|
||||
out.write("-os-results'></div>\n</div>\n");
|
||||
|
||||
if (styleClass != null || style != null)
|
||||
{
|
||||
out.write("</div>\n");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user