From: Julien Dramaix Date: Mon, 20 Aug 2012 09:18:48 +0000 (+0000) Subject: fix issue 147 X-Git-Tag: release-1.3.2~69 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=48b3a5c300023fac53b25783e5ceaabdaebd8790;p=gwtquery.git fix issue 147 --- 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; }