Module: check_mk
Branch: master
Commit: b77052cb0df242432e7e4163aa0a0fa8e2846471
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b77052cb0df242…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Dec 18 16:07:35 2014 +0100
#1774 FIX IE: Always use the latest available rendering enginge of the used browser
We tell IE to always use the latest available rendering engine instead of a guessed one
or the default one. The user might still override this by choosing a rendering engine
by hand in IE.
This should fix several rendering and JS problems e.g. when using the dashboard designer.
---
.werks/1774 | 14 ++++++++++++++
ChangeLog | 1 +
web/htdocs/htmllib.py | 1 +
web/htdocs/main.py | 1 +
4 files changed, 17 insertions(+)
diff --git a/.werks/1774 b/.werks/1774
new file mode 100644
index 0000000..664200d
--- /dev/null
+++ b/.werks/1774
@@ -0,0 +1,14 @@
+Title: IE: Always use the latest available rendering enginge of the used browser
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1418915144
+
+We tell IE to always use the latest available rendering engine instead of a guessed one
+or the default one. The user might still override this by choosing a rendering engine
+by hand in IE.
+
+This should fix several rendering and JS problems e.g. when using the dashboard
designer.
diff --git a/ChangeLog b/ChangeLog
index 101f197..5917018 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -36,6 +36,7 @@
* 1206 FIX: Hostname not longer shown as column in host views
* 1766 FIX: Fixed exceptions in Web GUI when host or service groups used non ascii
characters in names...
* 1773 FIX: Fixed different exceptions when using localized multisite
+ * 1774 FIX: IE: Always use the latest available rendering enginge of the used
browser...
WATO:
* 1760 Added search form to manual checks page
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index 14410da..9396b47 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -730,6 +730,7 @@ class html:
self.write('<title>')
self.write(self.attrencode(title))
self.write('</title>\n')
+ self.write('<meta http-equiv="X-UA-Compatible"
content="IE=edge" />')
# If the variable _link_target is set, then all links in this page
# should be targetted to the HTML frame named by _link_target. This
diff --git a/web/htdocs/main.py b/web/htdocs/main.py
index 89091f9..6c9d161 100644
--- a/web/htdocs/main.py
+++ b/web/htdocs/main.py
@@ -47,6 +47,7 @@ def page_index():
<html>
<head>
<title>%s</title>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="shortcut icon" href="images/favicon.ico"
type="image/ico">
</head>
<frameset cols="280,*" frameborder="0" framespacing="0"
border="0">