tell IE > 7 to use it's own mode, not old compatibility mode eg. IE=7 for IE8

This commit is contained in:
Ralf Becker 2010-11-09 14:46:35 +00:00
parent d0badc26cd
commit 37af8ee04a

View File

@ -275,6 +275,11 @@ abstract class egw_framework
</script>
<![endif]-->';
}
// tell IE > 7 to use it's own mode, not old compatibility mode eg. IE=7 for IE8
if (html::$user_agent == 'msie' && html::$ua_version > 7)
{
$pngfix .= "\n\t\t".'<meta http-equiv="X-UA-Compatible" content="IE='.(int)html::$ua_version.'" />';
}
if(!$GLOBALS['egw_info']['user']['preferences']['common']['disable_slider_effects'])
{