From 827f4b6db99b19ee0cf815855332081906a302f0 Mon Sep 17 00:00:00 2001 From: Marc Englund Date: Thu, 10 Dec 2009 09:13:26 +0000 Subject: Window title no longer changed when running embedded, fixes #3479 svn changeset:10219/svn branch:6.2 --- src/com/vaadin/ui/LoginForm.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/com/vaadin/ui/LoginForm.java') diff --git a/src/com/vaadin/ui/LoginForm.java b/src/com/vaadin/ui/LoginForm.java index 76c567dc5e..81587f9e6a 100644 --- a/src/com/vaadin/ui/LoginForm.java +++ b/src/com/vaadin/ui/LoginForm.java @@ -13,6 +13,7 @@ import com.vaadin.terminal.ApplicationResource; import com.vaadin.terminal.DownloadStream; import com.vaadin.terminal.ParameterHandler; import com.vaadin.terminal.URIHandler; +import com.vaadin.terminal.gwt.client.ApplicationConnection; /** * LoginForm is a Vaadin component to handle common problem among Ajax @@ -164,7 +165,9 @@ public class LoginForm extends CustomComponent { + "function submitOnEnter(e) { var keycode = e.keyCode || e.which;" + " if (keycode == 13) {document.forms[0].submit();} } \n" + "" - + "" + + "" + "
" + "" -- cgit v1.2.3