diff options
author | Marc Englund <marc.englund@itmill.com> | 2009-12-10 09:13:26 +0000 |
---|---|---|
committer | Marc Englund <marc.englund@itmill.com> | 2009-12-10 09:13:26 +0000 |
commit | 827f4b6db99b19ee0cf815855332081906a302f0 (patch) | |
tree | 3dcf9654a0c0752c0a63b5cafa761fb817606366 /src/com/vaadin/ui/LoginForm.java | |
parent | 8d48455765b201ed0bc933ae0722db2ca9990e59 (diff) | |
download | vaadin-framework-827f4b6db99b19ee0cf815855332081906a302f0.tar.gz vaadin-framework-827f4b6db99b19ee0cf815855332081906a302f0.zip |
Window title no longer changed when running embedded, fixes #3479
svn changeset:10219/svn branch:6.2
Diffstat (limited to 'src/com/vaadin/ui/LoginForm.java')
-rw-r--r-- | src/com/vaadin/ui/LoginForm.java | 5 |
1 files changed, 4 insertions, 1 deletions
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" + "</script>" - + "</head><body onload='setTarget();' style='margin:0;padding:0; background:transparent;' class=\"v-generated-body\">" + + "</head><body onload='setTarget();' style='margin:0;padding:0; background:transparent;' class=\"" + + ApplicationConnection.GENERATED_BODY_CLASSNAME + + "\">" + "<div class='v-app v-app-loginpage' style=\"background:transparent;\">" + "<iframe name='logintarget' style='width:0;height:0;" + "border:0;margin:0;padding:0;'></iframe>" |