aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-server
diff options
context:
space:
mode:
authorAnna Koskinen <Ansku@users.noreply.github.com>2021-03-26 16:37:44 +0200
committerGitHub <noreply@github.com>2021-03-26 16:37:44 +0200
commitc1dcafe7ff69fb5497bef82225ebb872260acf39 (patch)
treea7f1ef8a83604a544fc1636a361d9835298c3382 /compatibility-server
parent3a9f6be2002ac2f8f6d5568517e6b4009d2518d8 (diff)
downloadvaadin-framework-c1dcafe7ff69fb5497bef82225ebb872260acf39.tar.gz
vaadin-framework-c1dcafe7ff69fb5497bef82225ebb872260acf39.zip
Include compatibility tests in validation builds (#12250)
Diffstat (limited to 'compatibility-server')
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java
index 6cd9cd0300..491b440e5e 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java
@@ -46,6 +46,7 @@ import org.jsoup.select.Elements;
import com.vaadin.event.ContextClickEvent;
import com.vaadin.event.FieldEvents.BlurEvent;
import com.vaadin.event.FieldEvents.BlurListener;
+import com.vaadin.event.FieldEvents.FocusAndBlurServerRpcDecorator;
import com.vaadin.event.FieldEvents.FocusEvent;
import com.vaadin.event.FieldEvents.FocusListener;
import com.vaadin.event.SerializableEventListener;
@@ -4808,6 +4809,8 @@ public class Grid extends AbstractComponent
private void initGrid() {
setSelectionMode(getDefaultSelectionMode());
+ registerRpc(new FocusAndBlurServerRpcDecorator(this, this::fireEvent));
+
registerRpc(new GridServerRpc() {
@Override