Threaded View
-
18 Jul 2009 3:51 AM #1
[CLOSED] [3.0.0] Event handler arguments receive DOM element instead of Ext.Element
[CLOSED] [3.0.0] Event handler arguments receive DOM element instead of Ext.Element
Hi,
I'm facing the following problem:
In the documentation of Ext.Element.addListener(), the second parameter to the handler function fn(evt, el, obj) should be an Ext.Element.
Instead, the handler receive the HTML element that received the event. In addition, if the HTML element that received the event was a child of the element on which the handler has been set up, that child element is given to the handler, not the element on which the handler has been set up.
I don't know if this is the intended behaviour, but then the documentation should be fixed.... This is rather confusing ;-).
Thanks for the wonderful job!
Julien
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote