diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2014-05-08 11:28:39 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-05-08 09:52:38 +0000 |
commit | 78981f194199550211f031aef65a1a1211628665 (patch) | |
tree | 24145270a6f9c1d13e0b373bb555514440902903 /client | |
parent | 8fb9121280e1ec6e067c8339becbe3a479e769ce (diff) | |
download | vaadin-framework-78981f194199550211f031aef65a1a1211628665.tar.gz vaadin-framework-78981f194199550211f031aef65a1a1211628665.zip |
Fix occasionally misplaced error indicators in Buttons (#13723)
Change-Id: Id34a8463ff40b1351d4d8b171e561a21fc76d747
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/button/ButtonConnector.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/com/vaadin/client/ui/button/ButtonConnector.java b/client/src/com/vaadin/client/ui/button/ButtonConnector.java index eb5a3476f6..4220c3f5d1 100644 --- a/client/src/com/vaadin/client/ui/button/ButtonConnector.java +++ b/client/src/com/vaadin/client/ui/button/ButtonConnector.java @@ -66,8 +66,7 @@ public class ButtonConnector extends AbstractComponentConnector implements getWidget().errorIndicatorElement .setClassName("v-errorindicator"); } - getWidget().wrapper.insertBefore(getWidget().errorIndicatorElement, - getWidget().captionElement); + getWidget().wrapper.insertFirst(getWidget().errorIndicatorElement); } else if (getWidget().errorIndicatorElement != null) { getWidget().wrapper.removeChild(getWidget().errorIndicatorElement); |