summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2015-06-19 13:32:08 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-21 14:40:50 +0300
commit2c5305b1eb0bcde09edc92f622f86978bdbdc0a9 (patch)
tree54d4da6f57a83be586b4ce36787c362e26e31965 /server
parent6faf90dcece4efdeb0bb97a3f320cc2dbe7fbbda (diff)
downloadvaadin-framework-2c5305b1eb0bcde09edc92f622f86978bdbdc0a9.tar.gz
vaadin-framework-2c5305b1eb0bcde09edc92f622f86978bdbdc0a9.zip
Update connector hierarch when canceling editor (#16976).
Change-Id: I6e398952f84620955f9f1d61ef5ee90f81e28007
Diffstat (limited to 'server')
-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() {