mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
* IE9: enable IE dropdown menu hack only for IE<9, as it stalls IE9 www.stylite.de bug #1722
This commit is contained in:
parent
eeda69071f
commit
61c0b251c3
@ -738,7 +738,7 @@ abstract class egw_framework
|
||||
$java_script = '';
|
||||
|
||||
// GLOBAL var to tell egroupware wether or not to enable the IE selectBox resize hack
|
||||
if($GLOBALS['egw_info']['user']['preferences']['common']['enable_ie_dropdownmenuhack'])
|
||||
if($GLOBALS['egw_info']['user']['preferences']['common']['enable_ie_dropdownmenuhack'] && html::$user_agent == 'msie' && html::$ua_version < 9)
|
||||
{
|
||||
$java_script .= "<script type=\"text/javascript\">\nvar enable_ie_dropdownmenuhack=1;\n</script>\n";
|
||||
}
|
||||
|
@ -320,8 +320,8 @@ class html
|
||||
{
|
||||
$options .= ' size="'.abs($multiple).'"';
|
||||
}
|
||||
// fix width for MSIE in/for selectboxes
|
||||
if (self::$user_agent == 'msie')
|
||||
// fix width for MSIE < 9 in/for selectboxes
|
||||
if (self::$user_agent == 'msie' && self::$ua_version < 9)
|
||||
{
|
||||
if (stripos($options,'onfocus="') === false)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user