Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)

58202: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
      58138: 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/HEAD/root@61941 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2014-02-11 22:58:35 +00:00
parent 09036d3b21
commit 07d26c7c19

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");