summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2015-06-19 13:32:08 +0300
committerVaadin Code Review <review@vaadin.com>2015-07-13 11:13:08 +0000
commit96e10ed8be9ec1e694001098584361e43eb35af2 (patch)
tree44fcccf1824b04c75edb540db355e784d205af4f /server/src/com/vaadin
parent7c324e2bdd242979e8110ca7100726bf040e6904 (diff)
downloadvaadin-framework-96e10ed8be9ec1e694001098584361e43eb35af2.tar.gz
vaadin-framework-96e10ed8be9ec1e694001098584361e43eb35af2.zip
Update connector hierarch when canceling editor (#16976).
Change-Id: Ib7b82c400b044c27a0f494a81d1c9cd5b307aa34
Diffstat (limited to 'server/src/com/vaadin')
-rw-r--r--server/src/com/vaadin/ui/Grid.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/Grid.java b/server/src/com/vaadin/ui/Grid.java
index e5eebff879..e9469c5bca 100644
--- a/server/src/com/vaadin/ui/Grid.java
+++ b/server/src/com/vaadin/ui/Grid.java
@@ -5821,6 +5821,10 @@ public class Grid extends AbstractComponent implements SelectionNotifier,
editorActive = false;
editorFieldGroup.discard();
editorFieldGroup.setItemDataSource(null);
+
+ // Mark Grid as dirty so the client side gets to know that the editors
+ // are no longer attached
+ markAsDirty();
}
void resetEditor() {