flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [1/5] git commit: [flex-asjs] [refs/heads/develop] - handle null to prevent RTE
Date Fri, 14 Jun 2013 16:52:55 GMT
Updated Branches:
  refs/heads/develop c557d7ab9 -> 7a18c74ad


handle null to prevent RTE


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

Branch: refs/heads/develop
Commit: ca805a0b6c6223368926e7b332ad971cf936a2b7
Parents: fe9a9ac
Author: Alex Harui <aharui@apache.org>
Authored: Tue Jun 11 14:33:42 2013 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Thu Jun 13 23:23:21 2013 -0700

----------------------------------------------------------------------
 .../org/apache/flex/html/staticControls/beads/TextFieldBeadBase.as | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ca805a0b/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldBeadBase.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldBeadBase.as
b/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldBeadBase.as
index b9a2ebf..a746745 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldBeadBase.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldBeadBase.as
@@ -78,6 +78,8 @@ package org.apache.flex.html.staticControls.beads
 		}
 		public function set text(value:String):void
 		{
+            if (value == null)
+                value == "";
 			_textField.text = value;
 		}
 		


Mime
View raw message