projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fd4765
)
[IMP] added a .ie class on <html> when using ie <= 9
author
Frédéric van der Essen
<fva@openerp.com>
Thu, 15 Nov 2012 14:30:47 +0000
(15:30 +0100)
committer
Frédéric van der Essen
<fva@openerp.com>
Thu, 15 Nov 2012 14:30:47 +0000
(15:30 +0100)
bzr revid: fva@openerp.com-
20121115143047
-utonsnq0iadbvmyt
addons/web/controllers/main.py
patch
|
blob
|
history
diff --git
a/addons/web/controllers/main.py
b/addons/web/controllers/main.py
index
407b87b
..
717ede1
100644
(file)
--- a/
addons/web/controllers/main.py
+++ b/
addons/web/controllers/main.py
@@
-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" />