You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2022/06/14 11:04:45 UTC
[royale-asjs] branch develop updated: Fix default xml descriptor's isEnabled method
This is an automated email from the ASF dual-hosted git repository.
yishayw pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 49897587c9 Fix default xml descriptor's isEnabled method
49897587c9 is described below
commit 49897587c945eaf98adbde98e943fdda3f80466e
Author: yweiss <yi...@mcafee.com>
AuthorDate: Tue Jun 14 04:04:12 2022 -0700
Fix default xml descriptor's isEnabled method
---
.../src/main/royale/mx/controls/treeClasses/DefaultDataDescriptor.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/treeClasses/DefaultDataDescriptor.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/treeClasses/DefaultDataDescriptor.as
index 26f1921ef3..553a9207c6 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/treeClasses/DefaultDataDescriptor.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/treeClasses/DefaultDataDescriptor.as
@@ -525,7 +525,7 @@ public class DefaultDataDescriptor implements ITreeDataDescriptor2 , IMenuDataDe
if (node is XML)
{
enabled = node.@enabled;
- if (enabled[0] == false)
+ if (String(enabled[0]) == "false")
return false;
}
else if (node is Object)