flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [4/5] git commit: [flex-asjs] [refs/heads/develop] - handle null which could happen when restoring states
Date Fri, 14 Jun 2013 16:52:58 GMT
handle null which could happen when restoring states


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

Branch: refs/heads/develop
Commit: 6cb30a9a1588c0b62ea948d15c2dd489cd07922a
Parents: ff99ba7
Author: Alex Harui <aharui@apache.org>
Authored: Tue Jun 11 14:52:15 2013 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Thu Jun 13 23:23:28 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6cb30a9a/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 a746745..6b19447 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
@@ -79,7 +79,7 @@ package org.apache.flex.html.staticControls.beads
 		public function set text(value:String):void
 		{
             if (value == null)
-                value == "";
+                value = "";
 			_textField.text = value;
 		}
 		


Mime
View raw message