flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [2/2] git commit: [flex-sdk] [refs/heads/develop] - refix FLEX-34078 in a more general way
Date Tue, 17 Jun 2014 21:28:19 GMT
refix FLEX-34078 in a more general way


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

Branch: refs/heads/develop
Commit: ef02abf452be8078928d3c18dcc1569a5cf943a4
Parents: 197b948
Author: Alex Harui <aharui@apache.org>
Authored: Tue Jun 17 14:27:42 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Jun 17 14:27:42 2014 -0700

----------------------------------------------------------------------
 .../src/spark/components/supportClasses/DropDownController.as  | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ef02abf4/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 e1ff2fd..9ac003e 100644
--- a/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
+++ b/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
@@ -626,6 +626,12 @@ public class DropDownController extends EventDispatcher
                 }
             }
 
+			// contains() doesn't cover popups/dropdowns, but owns() does.
+			if (dropDown is IUIComponent)
+			{
+				if ((dropDown as IUIComponent).owns(target))
+					return;
+			}
             closeDropDown(true);
         } 
     }


Mime
View raw message