flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject [03/40] git commit: [flex-asjs] [refs/heads/tlf] - FLEX-35269 - Make TextArea dynamic
Date Sun, 26 Mar 2017 13:01:55 GMT
FLEX-35269 - Make TextArea dynamic


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

Branch: refs/heads/tlf
Commit: 5345db87522cfe61a2b9f3f6770170887b8960ea
Parents: ba9c6c6
Author: piotrz <piotrz@apache.org>
Authored: Sat Mar 18 14:46:38 2017 +0100
Committer: piotrz <piotrz@apache.org>
Committed: Sat Mar 18 14:46:38 2017 +0100

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/mdl/TextArea.as               | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5345db87/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextArea.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextArea.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextArea.as
index b7d0dad..b9a58c1 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextArea.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TextArea.as
@@ -18,7 +18,8 @@
 package org.apache.flex.mdl
 {
 	import org.apache.flex.events.Event;
-    
+    import org.apache.flex.mdl.beads.UpgradeElement;
+
     import org.apache.flex.mdl.supportClasses.TextFieldBase;
     
     COMPILE::JS
@@ -130,6 +131,8 @@ package org.apache.flex.mdl
             var div:HTMLDivElement = document.createElement('div') as HTMLDivElement;
             div.className = typeNames;
 
+            addBead(new UpgradeElement(div));
+
             input = document.createElement('textarea') as HTMLInputElement;
             input.setAttribute('type', 'text');
             input.setAttribute('rows', rows);


Mime
View raw message