flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [04/12] git commit: [flex-asjs] [refs/heads/develop] - handle manually added views
Date Mon, 12 Jan 2015 18:50:56 GMT
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 <aharui@apache.org>
Authored: Mon Jan 12 10:45:30 2015 -0800
Committer: Alex Harui <aharui@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;
 		}
 		


Mime
View raw message