summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/src/com/vaadin/client/Util.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/Util.java b/client/src/com/vaadin/client/Util.java
index 8972670232..55d3d13c19 100644
--- a/client/src/com/vaadin/client/Util.java
+++ b/client/src/com/vaadin/client/Util.java
@@ -866,7 +866,7 @@ public class Util {
element = (Element) element.getParentElement();
}
}
- if (eventListener != null) {
+ if (eventListener instanceof Widget) {
/*
* Then find the first widget of type class1 from widget
* hierarchy