[IMP] added a .ie class on <html> when using ie <= 9
bzr revid: fva@openerp.com-20121115143047-utonsnq0iadbvmyt
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user