summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2014-03-25 13:21:27 +0200
committerVaadin Code Review <review@vaadin.com>2014-03-25 11:33:54 +0000
commitca73546d736dfb41d9b25a32282fff63791bffe1 (patch)
tree67aec63ba5f1b04694bdb32de856b2d70872f6bc /client
parentf72a5fb44f256eaeced2cbfb77900ce90f92e4c1 (diff)
downloadvaadin-framework-ca73546d736dfb41d9b25a32282fff63791bffe1.tar.gz
vaadin-framework-ca73546d736dfb41d9b25a32282fff63791bffe1.zip
Eliminate more .v-caption leaks in AbstractOrderedLayout (#13346)
Change-Id: I641be48a53c53f584c42ae4f904975f447e9075a
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java b/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java
index ce73627c88..d9299f2621 100644
--- a/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java
+++ b/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java
@@ -258,6 +258,10 @@ public abstract class AbstractOrderedLayoutConnector extends
}
boolean enabled = child.isEnabled();
+ if (slot.hasCaption() && null == caption) {
+ slot.setCaptionResizeListener(null);
+ }
+
slot.setCaption(caption, iconUrlString, styles, error, showError,
required, enabled);