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 B61BD200BC4 for ; Sat, 5 Nov 2016 00:18:57 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B4EEE160B14; Fri, 4 Nov 2016 23:18:57 +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 98144160B07 for ; Sat, 5 Nov 2016 00:18:56 +0100 (CET) Received: (qmail 11768 invoked by uid 500); 4 Nov 2016 23:18:54 -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 11416 invoked by uid 99); 4 Nov 2016 23:18:54 -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; Fri, 04 Nov 2016 23:18:54 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 51271F171D; Fri, 4 Nov 2016 23:18:54 +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: Fri, 04 Nov 2016 23:19:21 -0000 Message-Id: <2a5f86a2af8443ac83118bdfb41b1bef@git.apache.org> In-Reply-To: <30010bcd01d04f2f82e6d6701c2a80c4@git.apache.org> References: <30010bcd01d04f2f82e6d6701c2a80c4@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [29/36] git commit: [flex-asjs] [refs/heads/feature/mdl] - Fix to complain with the last refactor archived-at: Fri, 04 Nov 2016 23:18:57 -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/8a8957a2 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8a8957a2 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8a8957a2 Branch: refs/heads/feature/mdl Commit: 8a8957a2288ab66078a4f57af9323975f23c75fc Parents: f7eafac Author: Carlos Rovira Authored: Wed Nov 2 19:27:22 2016 +0100 Committer: Carlos Rovira Committed: Sat Nov 5 00:18:33 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/8a8957a2/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; }