This is an automated email from the ASF dual-hosted git repository. gregdove pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 26d4b9cf7c1968160278754a01bd612946ddf41d Author: greg-dove <[email protected]> AuthorDate: Thu May 28 23:03:43 2020 +1200 Quick fix for many Containers (Container-derived mxml components) missing binding support in ported Flex code. --- frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as index b8b875f..bc50368 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as @@ -825,7 +825,7 @@ public class Container extends UIComponent { super.createChildren(); - if (getBeadByType(DataBindingBase) == null && mxmlDocument == this) + if (getBeadByType(DataBindingBase) == null && '_bindings' in this /*mxmlDocument == this*/) addBead(new ContainerDataBinding()); dispatchEvent(new Event("initBindings"));
