better IE8 support.
This commit is contained in:
parent
7d17e9719c
commit
892e44ae17
|
@ -565,7 +565,7 @@ public final class AEnv
|
|||
}
|
||||
|
||||
/**
|
||||
* @return true if user agent is internet explorer
|
||||
* @return true if user agent is internet explorer 7 or lower
|
||||
*/
|
||||
public static boolean isInternetExplorer()
|
||||
{
|
||||
|
@ -575,10 +575,7 @@ public final class AEnv
|
|||
|
||||
Object n = execution.getNativeRequest();
|
||||
if (n instanceof ServletRequest) {
|
||||
String userAgent = Servlets.getUserAgent((ServletRequest) n);
|
||||
if (userAgent.indexOf("MSIE ") >= 0) {
|
||||
return true;
|
||||
}
|
||||
return Servlets.isExplorer((ServletRequest) n);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -4,6 +4,7 @@ Copyright (C) 2007 Ashley G Ramdass.
|
|||
-->
|
||||
<?page style="height:100%"?>
|
||||
<?init zscript="theme.zs" ?>
|
||||
<?meta http-equiv="X-UA-Compatible" content="IE=8" ?>
|
||||
<?link rel="icon" type="image/png" href="${browserIcon}"?>
|
||||
<?link rel="stylesheet" type="text/css" href="${themeStyleSheet}"?>
|
||||
<?link rel="stylesheet" type="text/css" href="${themeStyleSheetByBrowser}"?>
|
||||
|
|
Loading…
Reference in New Issue