]> source.dussan.org Git - gwtquery.git/commitdiff
fix issue 147
authorJulien Dramaix <julien.dramaix@gmail.com>
Mon, 20 Aug 2012 09:18:48 +0000 (09:18 +0000)
committerJulien Dramaix <julien.dramaix@gmail.com>
Mon, 20 Aug 2012 09:18:48 +0000 (09:18 +0000)
gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/EventsListener.java

index 5d56359e7b1b077d444ced30b0924a1d0b1ba3a1..f76afbd75fb7ea9dceeb1ec2c263dbfef04732df 100644 (file)
@@ -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;
                 }