Merged DEV no V4.2-BUG-FIX (4.2.1)

58127: MNT-10027 : IE10 specific: The buttons "Create Space", "Advanced Space
   Wizard", "Manage Space Users", "Manage Content Rules" etc. don't work
   Changed width of menus to auto to correctly display it in IE 10.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/V4.2-BUG-FIX/root@58138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alex Mukha
2013-11-22 12:11:01 +00:00
parent d7822298b1
commit e9ce4b2464

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2005-2012 Alfresco Software Limited.
* Copyright (C) 2005-2013 Alfresco Software Limited.
*
* This file is part of Alfresco
*
@@ -86,7 +86,8 @@ public class UIMenu extends SelfRenderingComponent
out.write(menuId);
// NOTE: the use of "*width:0px" is an IE6/7 specific hack to ensure that the CSS is processed
// only by IE (which needs the width value) and _not_ FireFox which doesn't...!
out.write("' style=\"position:absolute;display:none;padding-left:2px;*width:0px\">");
// Changed the width to "auto" to support IE 10, see MNT-10027
out.write("' style=\"position:absolute;display:none;padding-left:2px;*width:auto\">");
out.write("<table border='0' cellpadding='0'");
outputAttribute(out, getAttributes().get("itemSpacing"), "cellspacing");
outputAttribute(out, getAttributes().get("menuStyle"), "style");