[IMP] added a .ie class on <html> when using ie <= 9

bzr revid: fva@openerp.com-20121115143047-utonsnq0iadbvmyt
This commit is contained in:
Frédéric van der Essen
2012-11-15 15:30:47 +01:00
parent 6fd4765e07
commit b7bb7e6246
+2 -1
View File
@@ -545,7 +545,8 @@ def content_disposition(filename, req):
#----------------------------------------------------------
html_template = """<!DOCTYPE html>
<html style="height: 100%%">
<!--[if lte IE 9]> <html style='height: 100%%' class='ie'> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html style='height: 100%%' class=''> <!--<![endif]-->
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />