[IMP] modified chrome frame message to display better in IE8

bzr revid: nicolas.vanhoren@openerp.com-20121210155021-5b7j4626p52uz1ei
This commit is contained in:
niv-openerp
2012-12-10 16:50:21 +01:00
parent bd0bae6625
commit aee4b7fb92
+3 -13
View File
@@ -524,19 +524,9 @@ html_template = """<!DOCTYPE html>
<!--[if lte IE 8]>
<script 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();
}
CFInstall.check({
mode: "overlay"
});
</script>
<![endif]-->
</body>