summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorHenrik Paul <henrik@vaadin.com>2015-03-13 11:32:30 +0200
committerHenrik Paul <henrik@vaadin.com>2015-03-18 09:27:41 +0200
commit251ed2cbb633778d467e0a646ad6f87e3e8ca4bb (patch)
treeea3c269a17f98a335d7c3325abb88ca51556c8bb /server
parenta1619ee73dc18eecda22056541826a3c8bb65a5c (diff)
downloadvaadin-framework-251ed2cbb633778d467e0a646ad6f87e3e8ca4bb.tar.gz
vaadin-framework-251ed2cbb633778d467e0a646ad6f87e3e8ca4bb.zip
Fixes a bug in Details being open on freshly retrieved Grid rows (#16644)
Change-Id: Id337dd84ba0b0f09d55b3cdb0d8bfde67313ed21
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/data/RpcDataProviderExtension.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/com/vaadin/data/RpcDataProviderExtension.java b/server/src/com/vaadin/data/RpcDataProviderExtension.java
index 62b8214cbd..620933c379 100644
--- a/server/src/com/vaadin/data/RpcDataProviderExtension.java
+++ b/server/src/com/vaadin/data/RpcDataProviderExtension.java
@@ -156,7 +156,10 @@ public class RpcDataProviderExtension extends AbstractExtension {
}
indexToItemId.forcePut(index, itemId);
- detailComponentManager.createDetails(itemId, index);
+
+ if (visibleDetails.contains(itemId)) {
+ detailComponentManager.createDetails(itemId, index);
+ }
}
index++;
}