Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9987A200BDB for ; Sun, 6 Nov 2016 13:17:29 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 9849D160B15; Sun, 6 Nov 2016 12:17:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E091A160AFC for ; Sun, 6 Nov 2016 13:17:28 +0100 (CET) Received: (qmail 8285 invoked by uid 500); 6 Nov 2016 12:17:28 -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 8184 invoked by uid 99); 6 Nov 2016 12:17:28 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2016 12:17:28 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E3BF2DFB95; Sun, 6 Nov 2016 12:17:27 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: carlosrovira@apache.org To: commits@flex.apache.org Date: Sun, 06 Nov 2016 12:17:30 -0000 Message-Id: <5a245e2b7d564fb5ae3be3d92c55c653@git.apache.org> In-Reply-To: <2e04e56bc32646f3b29bb4ca2f4202dc@git.apache.org> References: <2e04e56bc32646f3b29bb4ca2f4202dc@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [04/40] git commit: [flex-asjs] [refs/heads/feature/mdl] - Fix to complain with the last refactor archived-at: Sun, 06 Nov 2016 12:17:29 -0000 Fix to complain with the last refactor Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/bbaf5389 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/bbaf5389 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/bbaf5389 Branch: refs/heads/feature/mdl Commit: bbaf53895b57cc7ab09bcb180d268cec069d263c Parents: 2ba5c03 Author: Carlos Rovira Authored: Wed Nov 2 19:27:22 2016 +0100 Committer: Carlos Rovira Committed: Sun Nov 6 13:15:38 2016 +0100 ---------------------------------------------------------------------- .../src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bbaf5389/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as index e3142b2..b9d1a6b 100644 --- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as +++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TextPrompt.as @@ -138,11 +138,11 @@ package org.apache.flex.mdl.beads var model:Object = UIBase(_strand).model; if (model.text != null && model.text.length > 0 ) { - if (promptAdded) UIBase(_strand).removeChild(promptField); + if (promptAdded) UIBase(_strand).$displayObjectContainer.removeChild(promptField); promptAdded = false; } else { - if (!promptAdded) UIBase(_strand).addChild(promptField); + if (!promptAdded) UIBase(_strand).$displayObjectContainer.addChild(promptField); promptField.text = prompt; promptAdded = true; }