aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorAnna Koskinen <anna@vaadin.com>2013-06-28 16:47:10 +0300
committerVaadin Code Review <review@vaadin.com>2013-06-28 14:10:11 +0000
commit6c4da294423a22f81840d9c0d807aca4ca9b8676 (patch)
tree20b146b3cfeca88f84bdbab83e645bd9f320ace8 /server
parent4583d07cd7094e2b987df6350b4b19eb4c01c210 (diff)
downloadvaadin-framework-6c4da294423a22f81840d9c0d807aca4ca9b8676.tar.gz
vaadin-framework-6c4da294423a22f81840d9c0d807aca4ca9b8676.zip
Ensure table's cells aren't refreshed if table is detached. (#9138)
Change-Id: I026cd70e9e518fa320f6ec3011194359385a3a4a
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/ui/Table.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/Table.java b/server/src/com/vaadin/ui/Table.java
index 0fb6197c3e..5dbf927658 100644
--- a/server/src/com/vaadin/ui/Table.java
+++ b/server/src/com/vaadin/ui/Table.java
@@ -1615,7 +1615,7 @@ public class Table extends AbstractSelect implements Action.Container,
* guaranteed to be recreated.
*/
protected void refreshRenderedCells() {
- if (getParent() == null) {
+ if (!isAttached()) {
return;
}