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 B0A70200CDD for ; Mon, 7 Aug 2017 13:28:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AF1A8164D7A; Mon, 7 Aug 2017 11:28:09 +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 0267D164371 for ; Mon, 7 Aug 2017 13:28:08 +0200 (CEST) Received: (qmail 7749 invoked by uid 500); 7 Aug 2017 11:28:08 -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 7741 invoked by uid 99); 7 Aug 2017 11:28:08 -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; Mon, 07 Aug 2017 11:28:08 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 197C8E10F8; Mon, 7 Aug 2017 11:28:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: yishayw@apache.org To: commits@flex.apache.org Date: Mon, 07 Aug 2017 11:28:07 -0000 Message-Id: <49fc9c8e70374a6f833131c976da7b38@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] git commit: [flex-asjs] [refs/heads/develop] - Upgrade should wait for other beads (e.g. IDataProviderItemRendererMapper) to do their thing archived-at: Mon, 07 Aug 2017 11:28:09 -0000 Repository: flex-asjs Updated Branches: refs/heads/develop 8d6d7ca84 -> dee26275e Upgrade should wait for other beads (e.g. IDataProviderItemRendererMapper) to do their thing Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9dac303c Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9dac303c Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9dac303c Branch: refs/heads/develop Commit: 9dac303cbf5c4bf7dd2a3f2f2a37e2d809fc281b Parents: 253e73b Author: DESKTOP-RH4S838\Yishay Authored: Mon Aug 7 13:48:39 2017 +0300 Committer: DESKTOP-RH4S838\Yishay Committed: Mon Aug 7 13:48:39 2017 +0300 ---------------------------------------------------------------------- .../src/main/flex/org/apache/flex/mdl/Menu.as | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dac303c/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Menu.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Menu.as b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Menu.as index bc69fc4..193addd 100644 --- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Menu.as +++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Menu.as @@ -18,6 +18,7 @@ //////////////////////////////////////////////////////////////////////////////// package org.apache.flex.mdl { + import org.apache.flex.events.Event; import org.apache.flex.html.List; import org.apache.flex.mdl.beads.UpgradeElement; @@ -58,9 +59,14 @@ package org.apache.flex.mdl super(); className = ""; //set to empty string avoid 'undefined' output when no class selector is assigned by user; - addBead(new UpgradeElement()); + addEventListener("beadsAdded", addUpgradeBead); } - + + protected function addUpgradeBead(event:Event):void + { + addBead(new UpgradeElement()); + } + /** * Default position for Menu in MDL is bottom/left (or no class selector specified) *