From 48b3a5c300023fac53b25783e5ceaabdaebd8790 Mon Sep 17 00:00:00 2001 From: Julien Dramaix Date: Mon, 20 Aug 2012 09:18:48 +0000 Subject: [PATCH] fix issue 147 --- .../google/gwt/query/client/plugins/events/EventsListener.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/EventsListener.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/EventsListener.java index 5d56359e..f76afbd7 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/EventsListener.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/EventsListener.java @@ -186,6 +186,8 @@ public class EventsListener implements EventListener { // When an event fired in an element stops bubbling we have to fire also all other // handlers for this element bound to this element if (stopElement == null || element.equals(stopElement)) { + gqEvent.setCurrentElementTarget(element); + if (!f.fire(gqEvent)) { stopElement = element; } -- 2.39.5