Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0564310E96 for ; Sun, 2 Mar 2014 00:15:59 +0000 (UTC) Received: (qmail 83631 invoked by uid 500); 2 Mar 2014 00:15:57 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 83564 invoked by uid 500); 2 Mar 2014 00:15:57 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 83557 invoked by uid 99); 2 Mar 2014 00:15:57 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2014 00:15:57 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 1AB1493250C; Sun, 2 Mar 2014 00:15:57 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jmclean@apache.org To: commits@flex.apache.org Date: Sun, 02 Mar 2014 00:15:57 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/2] git commit: [flex-sdk] [refs/heads/release4.12.0] - Refix-FLEX-34088 CalloutWithDropDown FIX 34124 ( RTE when clicking outside of callout) Repository: flex-sdk Updated Branches: refs/heads/release4.12.0 7929307a0 -> ee5057fc8 Refix-FLEX-34088 CalloutWithDropDown FIX 34124 ( RTE when clicking outside of callout) Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/5468de3f Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/5468de3f Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/5468de3f Branch: refs/heads/release4.12.0 Commit: 5468de3f7e1b71d5e4ff14c30651f111050bd998 Parents: 0bc6553 Author: mamsellem Authored: Sun Mar 2 00:47:51 2014 +0100 Committer: mamsellem Committed: Sun Mar 2 00:47:51 2014 +0100 ---------------------------------------------------------------------- .../src/spark/components/supportClasses/DropDownController.as | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5468de3f/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 c076211..9193d36 100644 --- a/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as +++ b/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as @@ -608,8 +608,11 @@ public class DropDownController extends EventDispatcher return; // don't close if something just been selected in a DropDownList - if (target is IUIComponent && (target as IUIComponent).document.hostComponent is DropDownList) - return; + if (target is IUIComponent){ + var doc: Object = (target as IUIComponent).document; + if ( ("hostComponent" in doc ) && doc.hostComponent is DropDownList ) + return; + } if (hitAreaAdditions != null) {