AWC-1069: You can't use the selected button in the navigator to get back to the root of that 'area'

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4964 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2007-01-30 12:51:21 +00:00
parent 88512cf711
commit 05142da649
2 changed files with 11 additions and 8 deletions

View File

@@ -226,9 +226,11 @@ public class UINavigator extends SelfRenderingComponent
// generate the active panel title // generate the active panel title
String cxPath = context.getExternalContext().getRequestContextPath(); String cxPath = context.getExternalContext().getRequestContextPath();
out.write("<div class=\"sidebarButtonSelected\" style=\"background-image: url(" + cxPath + "/images/parts/navigator_blue_gradient_bg.gif)\">"); out.write("<div class=\"sidebarButtonSelected\" style=\"background-image: url(" + cxPath + "/images/parts/navigator_blue_gradient_bg.gif)\">");
out.write("<span class=\"sidebarButtonLabelHighlight\">"); out.write("<a class='sidebarButtonSelectedLink' onclick=\"");
out.write(Utils.generateFormSubmit(context, this, getClientId(context), PANEL_ACTION + area));
out.write("\" href=\"#\">");
out.write(areaTitle); out.write(areaTitle);
out.write("</span></div>"); out.write("</a></div>");
// generate the javascript method to capture the tree node click events // generate the javascript method to capture the tree node click events
if (treePanel) if (treePanel)

View File

@@ -600,6 +600,13 @@ a.topToolbarLinkHighlight, a.topToolbarLinkHighlight:link, a.topToolbarLinkHighl
border-bottom: 1px solid #d3d7cf; border-bottom: 1px solid #d3d7cf;
} }
a.sidebarButtonSelectedLink, a.sidebarButtonSelectedLink:link, a.sidebarButtonSelectedLink:visited
{
color: #fff;
font-weight: normal;
font-size:12px;
}
.sidebarButton .sidebarButton
{ {
color: #004488; color: #004488;
@@ -610,12 +617,6 @@ a.topToolbarLinkHighlight, a.topToolbarLinkHighlight:link, a.topToolbarLinkHighl
border-top: 1px solid #c8ccd1; border-top: 1px solid #c8ccd1;
} }
.sidebarButtonLabelHighlight
{
color: #fff;
font-size:12px;
}
a.sidebarButtonLink, a.sidebarButtonLink:link, a.sidebarButtonLink:visited a.sidebarButtonLink, a.sidebarButtonLink:link, a.sidebarButtonLink:visited
{ {
color: #004488; color: #004488;