You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/01/12 19:50:56 UTC

[04/12] git commit: [flex-asjs] [refs/heads/develop] - handle manually added views

handle manually added views


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1f513403
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1f513403
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1f513403

Branch: refs/heads/develop
Commit: 1f513403a9aed0032088f6481bfa5c5c0ed16242
Parents: f4ff1db
Author: Alex Harui <ah...@apache.org>
Authored: Mon Jan 12 10:45:30 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Jan 12 10:45:30 2015 -0800

----------------------------------------------------------------------
 .../as/projects/FlexJSUI/src/org/apache/flex/core/UIButtonBase.as  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f513403/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/UIButtonBase.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/UIButtonBase.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/UIButtonBase.as
index 561d848..6cfb32c 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/UIButtonBase.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/UIButtonBase.as
@@ -672,6 +672,8 @@ package org.apache.flex.core
 			strand.push(bead);
 			if (bead is IBeadModel)
 				_model = bead as IBeadModel;
+            else if (bead is IBeadView)
+                _view = bead as IBeadView;
 			bead.strand = this;
 		}