flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject svn commit: r1454998 - /flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/ComboBox.as
Date Mon, 11 Mar 2013 04:49:07 GMT
Author: jmclean
Date: Mon Mar 11 04:49:06 2013
New Revision: 1454998

URL: http://svn.apache.org/r1454998
Log:
Fix RTE in ComboBox as described in FLEX-33414. Mustella ComboBox tests pass.

Modified:
    flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/ComboBox.as

Modified: flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/ComboBox.as
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/ComboBox.as?rev=1454998&r1=1454997&r2=1454998&view=diff
==============================================================================
--- flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/ComboBox.as (original)
+++ flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/ComboBox.as Mon
Mar 11 04:49:06 2013
@@ -787,13 +787,14 @@ public class ComboBox extends DropDownLi
                 
                 typicalItemChanged = false;
             }
-        }
         
-        // Clear the TextInput because we were programmatically set to NO_SELECTION
-        // We call this after super.commitProperties because commitSelection might have
-        // changed the value to NO_SELECTION
-        if (selectedIndexChanged && selectedIndex == NO_SELECTION)
-            textInput.text = "";
+			// Clear the TextInput because we were programmatically set to NO_SELECTION
+			// We call this after super.commitProperties because commitSelection might have
+			// changed the value to NO_SELECTION
+			if (selectedIndexChanged && selectedIndex == NO_SELECTION)
+				textInput.text = "";
+		}
+        
     }    
     
     /**



Mime
View raw message