summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/LoginForm.java
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2012-09-07 10:09:02 +0300
committerJohn Ahlroos <john@vaadin.com>2012-09-07 10:23:35 +0300
commit074b1095ee302af67626055820853ed1b8a4ea86 (patch)
treea6a6c72465748cb97fc83f5a84f37e151b7618de /server/src/com/vaadin/ui/LoginForm.java
parent4222b99bf020c8d7a3d49f4105507be4308cddd2 (diff)
downloadvaadin-framework-074b1095ee302af67626055820853ed1b8a4ea86.tar.gz
vaadin-framework-074b1095ee302af67626055820853ed1b8a4ea86.zip
Now using HTML5 content mode. Also deprecated the XHTML content modes.
Diffstat (limited to 'server/src/com/vaadin/ui/LoginForm.java')
-rw-r--r--server/src/com/vaadin/ui/LoginForm.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/server/src/com/vaadin/ui/LoginForm.java b/server/src/com/vaadin/ui/LoginForm.java
index 2e372e8512..69778c4c07 100644
--- a/server/src/com/vaadin/ui/LoginForm.java
+++ b/server/src/com/vaadin/ui/LoginForm.java
@@ -135,10 +135,7 @@ public class LoginForm extends CustomComponent {
String appUri = getSession().getURL().toString();
try {
- return ("<!DOCTYPE html PUBLIC \"-//W3C//DTD "
- + "XHTML 1.0 Transitional//EN\" "
- + "\"http://www.w3.org/TR/xhtml1/"
- + "DTD/xhtml1-transitional.dtd\">\n" + "<html>"
+ return ("<!DOCTYPE html>\n" + "<html>"
+ "<head><script type='text/javascript'>"
+ "var setTarget = function() {" + "var uri = '"
+ appUri