flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [42/50] git commit: [flex-sdk] [refs/heads/master] - FLEX-34124 change formatting/code to be in local style
Date Fri, 07 Mar 2014 01:05:52 GMT
FLEX-34124 change formatting/code to be in local style


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

Branch: refs/heads/master
Commit: bda1a15133d39b1facab7053289f909aae4e5eb7
Parents: ee5057f
Author: Justin Mclean <jmclean@apache.org>
Authored: Sun Mar 2 12:24:45 2014 +1100
Committer: Justin Mclean <jmclean@apache.org>
Committed: Sun Mar 2 12:24:45 2014 +1100

----------------------------------------------------------------------
 .../spark/components/supportClasses/DropDownController.as   | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/bda1a151/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
b/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
index 9193d36..e1ff2fd 100644
--- a/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
+++ b/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
@@ -608,10 +608,11 @@ public class DropDownController extends EventDispatcher
                 return;
 			
 			// don't close if something just been selected in a DropDownList
-			if (target is IUIComponent){
-                   var doc:  Object = (target as IUIComponent).document;
-                   if ( ("hostComponent" in doc ) && doc.hostComponent is DropDownList
)
-			                  	return;
+			if (target is IUIComponent)
+			{
+                var document:Object = (target as IUIComponent).document;
+                if (("hostComponent" in document) && document.hostComponent is DropDownList)
+			        return;
             }
 
             if (hitAreaAdditions != null)


Mime
View raw message