From 6c4da294423a22f81840d9c0d807aca4ca9b8676 Mon Sep 17 00:00:00 2001 From: Anna Koskinen Date: Fri, 28 Jun 2013 16:47:10 +0300 Subject: Ensure table's cells aren't refreshed if table is detached. (#9138) Change-Id: I026cd70e9e518fa320f6ec3011194359385a3a4a --- server/src/com/vaadin/ui/Table.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') 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; } -- cgit v1.2.3