I tried adding
(c as
ElementWrapper).setParentEventTarget(this);
in UIBase.addChild() but that crashed my test app with an endless recursion.
For future reference, I think the problem is that in this piece of code:
goog.events.EventTarget.prototype.dispatchEvent = function(e) {
this.assertInitialized_();
var ancestorsTree, ancestor = this.getParentEventTarget();
if (ancestor) {
ancestor is undefined.
I'll see if I can easily fix the Panel 'close' event relying on bubbling
from the title bar.
--
View this message in context:
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Bubbling-Problem-tp54796p54823.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.