Panel needs to override the set of children
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1f02405a Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1f02405a Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1f02405a Branch: refs/heads/develop Commit: 1f02405a229220cf1cbbcfa1f61eb769c4441b29 Parents: f8d91e6 Author: Alex Harui <[email protected]> Authored: Fri May 22 15:28:44 2015 -0700 Committer: Alex Harui <[email protected]> Committed: Fri May 22 16:04:11 2015 -0700 ---------------------------------------------------------------------- .../projects/HTML/js/src/org/apache/flex/html/Panel.js | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f02405a/frameworks/projects/HTML/js/src/org/apache/flex/html/Panel.js ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/Panel.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/Panel.js index f0baa42..d94415f 100644 --- a/frameworks/projects/HTML/js/src/org/apache/flex/html/Panel.js +++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/Panel.js @@ -138,6 +138,16 @@ org_apache_flex_html_Panel.prototype.addedToParent = }; +/** + * @override + * @return {Array} the HTML DOM element children. + */ +org_apache_flex_html_Panel.prototype.internalChildren = + function(c, index) { + return this.contentArea.children; +}; + + Object.defineProperties(org_apache_flex_html_Panel.prototype, { /** @expose */ showCloseButton: {
