[Kimchi-devel] [PATCH] Set IE edge mode for VNC/Spice web pages

Aline Manera alinefm at linux.vnet.ibm.com
Thu May 1 17:37:37 UTC 2014


Reviewed-by: Aline Manera <alinefm at linux.vnet.ibm.com>

On 04/30/2014 04:03 PM, Adam King wrote:
> IE puts content for some domains into compatiility mode by default, preventing
> some functions from working. Adding meta tags to indicate to IE that it should
> allow kimchi content to run in the latest mode.
>
> Signed-off-by: Adam King <rak at linux.vnet.ibm.com>
> ---
>   ui/pages/spice.html.tmpl    | 3 ++-
>   ui/pages/vnc_auto.html.tmpl | 1 +
>   2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/ui/pages/spice.html.tmpl b/ui/pages/spice.html.tmpl
> index 3e43306..9c4b046 100644
> --- a/ui/pages/spice.html.tmpl
> +++ b/ui/pages/spice.html.tmpl
> @@ -26,6 +26,7 @@
>   <html>
>       <head>
>           <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
> +        <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
>           <title>Spice Javascript client</title>
>           <script src="js/spice/enums.js"></script>
>           <script src="js/spice/atKeynames.js"></script>
> @@ -136,4 +137,4 @@
>           <!-- If DUMPXXX is turned on, dumped images will go here -->
>           </div>
>       </body>
> -</html>
> \ No newline at end of file
> +</html>
> diff --git a/ui/pages/vnc_auto.html.tmpl b/ui/pages/vnc_auto.html.tmpl
> index 0078190..f295019 100644
> --- a/ui/pages/vnc_auto.html.tmpl
> +++ b/ui/pages/vnc_auto.html.tmpl
> @@ -13,6 +13,7 @@
>       <head>
>           <title>noVNC</title>
>           <meta http-equiv="X-UA-Compatible" content="chrome=1">
> +        <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
>           <link rel="stylesheet" href="$href("/css/novnc/base.css")" title="plain">
>           <script type='text/javascript'>
>               var INCLUDE_URI = "/js/novnc/";




More information about the Kimchi-devel mailing list