diff --git a/source/java/org/alfresco/web/ui/repo/tag/PageTag.java b/source/java/org/alfresco/web/ui/repo/tag/PageTag.java index e0631aebb5..9fbc4cd692 100644 --- a/source/java/org/alfresco/web/ui/repo/tag/PageTag.java +++ b/source/java/org/alfresco/web/ui/repo/tag/PageTag.java @@ -367,7 +367,7 @@ public class PageTag extends TagSupport CCProperties ccProps = (CCProperties)FacesHelper.getManagedBean(fc, "CCProperties"); if (ccProps.getWebdavUrl() != null || ccProps.getCifsPath() != null) { - out.write("window.onload=onloadFunc(\""); + out.write("window.onload=function(){onloadFunc(\""); if (ccProps.getWebdavUrl() != null) { out.write(ccProps.getWebdavUrl()); @@ -379,7 +379,7 @@ public class PageTag extends TagSupport val = Utils.replace(val, "\\", "\\\\"); // encode escape character out.write(val); } - out.write("\");"); + out.write("\");};"); // reset session bean state ccProps.setCifsPath(null); diff --git a/source/web/css/main.css b/source/web/css/main.css index 48899ebfd4..e5091b60e3 100644 --- a/source/web/css/main.css +++ b/source/web/css/main.css @@ -661,7 +661,7 @@ a.topToolbarLinkHighlight, a.topToolbarLinkHighlight:link, a.topToolbarLinkHighl .navigator { - min-width: 220px; + min-width: auto; } .navigatorPanelBody