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 2013/06/14 18:52:58 UTC

[4/5] git commit: [flex-asjs] [refs/heads/develop] - handle null which could happen when restoring states

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 <ah...@apache.org>
Authored: Tue Jun 11 14:52:15 2013 -0700
Committer: Alex Harui <ah...@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;
 		}