[IMP] added code to download google frame

bzr revid: nicolas.vanhoren@openerp.com-20121008103700-8glev3xtzyue7for
This commit is contained in:
niv-openerp 2012-10-08 12:37:00 +02:00
parent c7bf6a6dfd
commit c9a79627f3
2 changed files with 28 additions and 1 deletions

View File

@ -1,6 +1,13 @@
OpenERP Web
-----------
The OpenERP Web Client supports the following web browsers:
* Internet Explorer 9+
* Google Chrome 22+
* Firefox 13+
* Any browser using the latest version of Chrome Frame
To build the documentation use:
$ make doc

View File

@ -568,7 +568,27 @@ html_template = """<!DOCTYPE html>
});
</script>
</head>
<body></body>
<body>
<!--[if lte IE 8]>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
<script>
var test = function() {
CFInstall.check({
mode: "overlay"
});
};
if (window.localStorage && false) {
if (! localStorage.getItem("hasShownGFramePopup")) {
test();
localStorage.setItem("hasShownGFramePopup", true);
}
} else {
test();
}
</script>
<![endif]-->
</body>
</html>
"""