Repository: flex-asjs Updated Branches: refs/heads/develop efd4372d4 -> c2105e383
enabled HTML elements should honor css inheritance Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/c2105e38 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/c2105e38 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/c2105e38 Branch: refs/heads/develop Commit: c2105e3835ffb1eaabbbef02a79a67c5d5af60d1 Parents: efd4372 Author: Harbs <ha...@in-tools.com> Authored: Wed Jul 12 16:14:23 2017 +0300 Committer: Harbs <ha...@in-tools.com> Committed: Wed Jul 12 16:14:23 2017 +0300 ---------------------------------------------------------------------- .../src/main/flex/org/apache/flex/html/beads/DisableBead.as | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c2105e38/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DisableBead.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DisableBead.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DisableBead.as index 2f8da88..2aa8404 100644 --- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DisableBead.as +++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DisableBead.as @@ -35,8 +35,8 @@ package org.apache.flex.html.beads } /** * The DisableBead class is a specialty bead that can be used with - * any TextInput control. The bead places a string into the input field - * when there is no value associated with the text property. + * any UIBase. When disabled is true, the bead prevents interaction with the component. + * The appearance of the component when disabled is controlled by a separate bead. * * @langversion 3.0 * @playerversion Flash 10.2 @@ -114,7 +114,7 @@ package org.apache.flex.html.beads } COMPILE::JS { - (_strand as Object).element.style.pointerEvents = disabled ? "none" : "auto"; + (_strand as Object).element.style.pointerEvents = disabled ? "none" : ""; } }