summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorDenis Anisimov <denis@vaadin.com>2014-04-05 15:48:22 +0300
committerVaadin Code Review <review@vaadin.com>2014-04-16 12:45:20 +0000
commit9bdf3f128803a0c7312cc95e2292861806f75aa9 (patch)
tree51fcd2d8440238b10fa668574321d7bf57424cbd /client
parent4709b75bb47d28630dacbb240bb43de16d972371 (diff)
downloadvaadin-framework-9bdf3f128803a0c7312cc95e2292861806f75aa9.tar.gz
vaadin-framework-9bdf3f128803a0c7312cc95e2292861806f75aa9.zip
Use getChildComponents in PopupView instead of getChildren (#13503)
Change-Id: Ifd155376804e2403c55a115186df2b2c1c673334
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/popupview/PopupViewConnector.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/client/src/com/vaadin/client/ui/popupview/PopupViewConnector.java b/client/src/com/vaadin/client/ui/popupview/PopupViewConnector.java
index 2f53280c99..1902b263d0 100644
--- a/client/src/com/vaadin/client/ui/popupview/PopupViewConnector.java
+++ b/client/src/com/vaadin/client/ui/popupview/PopupViewConnector.java
@@ -97,11 +97,9 @@ public class PopupViewConnector extends AbstractHasComponentsConnector
public void onConnectorHierarchyChange(
ConnectorHierarchyChangeEvent connectorHierarchyChangeEvent) {
// Render the popup if visible and show it.
- if (!getChildren().isEmpty()) {
+ if (!getChildComponents().isEmpty()) {
getWidget().preparePopup(getWidget().popup);
- getWidget().popup
- .setPopupConnector((ComponentConnector) getChildren()
- .get(0));
+ getWidget().popup.setPopupConnector(getChildComponents().get(0));
if (ComponentStateUtil.hasStyles(getState())) {
final StringBuffer styleBuf = new StringBuffer();
final String primaryName = getWidget().popup