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
String cxPath = context.getExternalContext().getRequestContextPath();
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("</span></div>");
out.write("</a></div>");
// generate the javascript method to capture the tree node click events
if (treePanel)