TPAC: Prevent IE compatibility view
authorDan Scott <dscott@laurentian.ca>
Tue, 24 Sep 2013 14:51:36 +0000 (10:51 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 24 Sep 2013 15:20:31 +0000 (11:20 -0400)
Windows XP has IE8, and it can handle the CSS we have in the TPAC.
However, the "compatibility view" button, if clicked, actually results
in horribly broken rendering (contrary to what one would expect).

 Adding this <meta> tag prevents the compatibility view button from
displaying and should improve the experience for users.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/base.tt2

index 0e51783..95b3c31 100644 (file)
@@ -2,6 +2,7 @@
 <html lang='[% ctx.locale.replace('_', '-') %]'>
     <head>
         <meta charset="utf-8" />
+        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
         [% IF ctx.refresh %]
         <meta http-equiv="refresh" content="[% ctx.refresh %]">
         [% ELSIF ctx.authtime %]