summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin
diff options
context:
space:
mode:
authorJohn Alhroos <john.ahlroos@itmill.com>2011-10-06 13:28:48 +0000
committerJohn Alhroos <john.ahlroos@itmill.com>2011-10-06 13:28:48 +0000
commitaa88a0042cb141e71a6a07c965f818675a8adf4d (patch)
treef7a24e8808ce2da6d651269036aaf096d514a137 /src/com/vaadin
parente6ee1cf6e62cf7fb6bf80ba6b6a0df7b0d5793a3 (diff)
downloadvaadin-framework-aa88a0042cb141e71a6a07c965f818675a8adf4d.tar.gz
vaadin-framework-aa88a0042cb141e71a6a07c965f818675a8adf4d.zip
Description should be appended AFTER the legend not before. #3725
svn changeset:21606/svn branch:6.7
Diffstat (limited to 'src/com/vaadin')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VForm.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VForm.java b/src/com/vaadin/terminal/gwt/client/ui/VForm.java
index 8b682d65d1..cabe691a3e 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VForm.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VForm.java
@@ -131,7 +131,7 @@ public class VForm extends ComplexPanel implements Container, KeyDownHandler {
if (uidl.hasAttribute("description")) {
desc.setInnerHTML(uidl.getStringAttribute("description"));
if (desc.getParentElement() == null) {
- fieldSet.insertFirst(desc);
+ fieldSet.insertAfter(desc, legend);
}
} else {
desc.setInnerHTML("");