You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ca...@apache.org on 2017/01/27 22:14:17 UTC
[36/50] git commit: [flex-asjs] [refs/heads/feature/mdl] - Fix for
bug FLEX-35250.
Fix for bug FLEX-35250.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/25195f5f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/25195f5f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/25195f5f
Branch: refs/heads/feature/mdl
Commit: 25195f5fd85d8d54a5f7741161cb28aa7b4a2396
Parents: 40b604b
Author: Peter Ent <pe...@apache.org>
Authored: Wed Jan 25 17:00:40 2017 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Jan 25 17:00:40 2017 -0500
----------------------------------------------------------------------
.../flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/25195f5f/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as
index 4348666..b316e26 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/layouts/HorizontalLayout.as
@@ -82,7 +82,10 @@ package org.apache.flex.html.beads.layouts
host = value as ILayoutChild;
COMPILE::JS
{
- ((value as IUIBase).element as HTMLElement).style.display = 'block';
+ var base:IUIBase = value as IUIBase;
+ if (base.element.style.display !== "none") {
+ base.element.style.display = "block";
+ }
}
}