diff options
author | Artur Signell <artur@vaadin.com> | 2013-05-27 16:37:32 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-05-28 12:45:13 +0300 |
commit | e52df7cdf8bbee662f539b1cee7344debb07c586 (patch) | |
tree | b7408dce2400ee2c06bbf8dd8844e9b495c23d60 /server/src/com/vaadin/event | |
parent | cb1f63b8606ae23088a62f26dc8979885c5cd19c (diff) | |
download | vaadin-framework-e52df7cdf8bbee662f539b1cee7344debb07c586.tar.gz vaadin-framework-e52df7cdf8bbee662f539b1cee7344debb07c586.zip |
Added ComponentConnector.isAttached (#11928)
Change-Id: I70d7d78a0d9de76080f6e0770a48504af8abdd84
Diffstat (limited to 'server/src/com/vaadin/event')
-rw-r--r-- | server/src/com/vaadin/event/dd/acceptcriteria/SourceIs.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/event/dd/acceptcriteria/SourceIs.java b/server/src/com/vaadin/event/dd/acceptcriteria/SourceIs.java index 65c1050fb0..0cc2f0a1a5 100644 --- a/server/src/com/vaadin/event/dd/acceptcriteria/SourceIs.java +++ b/server/src/com/vaadin/event/dd/acceptcriteria/SourceIs.java @@ -48,7 +48,7 @@ public class SourceIs extends ClientSideCriterion { int paintedComponents = 0; for (int i = 0; i < components.length; i++) { Component c = components[i]; - if (c.getUI() != null && c.getUI().getSession() != null) { + if (c.isAttached()) { target.addAttribute("component" + paintedComponents++, c); } else { Logger.getLogger(SourceIs.class.getName()) |