diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-01-14 20:07:48 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-01-14 20:07:48 +0000 |
commit | f2ccb14cde370c61a05972a9b4835bba8b059cad (patch) | |
tree | c9bed34ea63c870ddd0bd9495a4e47cd07561fcc | |
parent | cc39c3db5895fb950814b97d6db5c1712fd8e078 (diff) | |
parent | 21256faaf1cbf04bf87204e11975d20527bf5e2e (diff) | |
download | vaadin-framework-f2ccb14cde370c61a05972a9b4835bba8b059cad.tar.gz vaadin-framework-f2ccb14cde370c61a05972a9b4835bba8b059cad.zip |
Merge "Add close element after caption text (#10682)"
-rw-r--r-- | client/src/com/vaadin/client/ui/VTabsheet.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/com/vaadin/client/ui/VTabsheet.java b/client/src/com/vaadin/client/ui/VTabsheet.java index e20310408b..cd3ed8287e 100644 --- a/client/src/com/vaadin/client/ui/VTabsheet.java +++ b/client/src/com/vaadin/client/ui/VTabsheet.java @@ -318,8 +318,7 @@ public class VTabsheet extends VTabsheetBase implements Focusable, closeButton.setInnerHTML("×"); closeButton .setClassName(VTabsheet.CLASSNAME + "-caption-close"); - getElement().insertBefore(closeButton, - getElement().getLastChild()); + getElement().appendChild(closeButton); } else if (!closable && closeButton != null) { getElement().removeChild(closeButton); closeButton = null; |