diff options
Diffstat (limited to 'src/com/itmill/toolkit/terminal/gwt/server')
-rw-r--r-- | src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java b/src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java index 471ef2877e..5532fae62a 100644 --- a/src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java +++ b/src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java @@ -854,6 +854,8 @@ public class ApplicationServlet extends HttpServlet { + ">\n<head>\n"); page .write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>\n"); + page + .write("<meta http-equiv=\"X-UA-Compatible\" content=\"IE=7\" />\n"); page.write("<style type=\"text/css\">" + "html, body {height:100%;}</style>"); @@ -1071,6 +1073,8 @@ public class ApplicationServlet extends HttpServlet { * .i-app-<simpleName for app class> * .i-theme-<themeName, remove non-alphanum> */ + // FIXME Can themeName be null? This possibility is taken into account + // in other places page.write("<div id=\"" + appId + "\" class=\"i-app i-app-loading i-theme-" + themeName.replaceAll("[^a-zA-Z0-9]", "") + " i-app-" |