diff options
author | John Ahlroos <john@vaadin.com> | 2013-12-31 09:49:44 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-01-07 13:04:01 +0000 |
commit | db4dba4b43f6dde1a17804409d34248bd8698a2e (patch) | |
tree | b727b635e9b5f5cecc4ef3cd22c91248527ccd27 | |
parent | 0579fba63048ffa8daa22db5243a149e67f73594 (diff) | |
download | vaadin-framework-db4dba4b43f6dde1a17804409d34248bd8698a2e.tar.gz vaadin-framework-db4dba4b43f6dde1a17804409d34248bd8698a2e.zip |
Ensure event listener is a widget before casting #13130
Change-Id: I7f106356116d73eebbfeeee52d61d8d7a7117b3e
-rw-r--r-- | client/src/com/vaadin/client/Util.java | 2 |
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 |