flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pio...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Fix issue with upgrading MDL components which are UIBase only
Date Mon, 08 May 2017 22:38:08 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 93caf80fc -> 0d8833ad2


Fix issue with upgrading MDL components which are UIBase only


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

Branch: refs/heads/develop
Commit: 0d8833ad29ad80fd663e00046ce950f5bc63fb51
Parents: 93caf80
Author: piotrz <piotrz@apache.org>
Authored: Tue May 9 00:38:03 2017 +0200
Committer: piotrz <piotrz@apache.org>
Committed: Tue May 9 00:38:03 2017 +0200

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/mdl/beads/UpgradeElement.as     | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0d8833ad/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/UpgradeElement.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/UpgradeElement.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/UpgradeElement.as
index 3a2e448..6b7d766 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/UpgradeElement.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/UpgradeElement.as
@@ -95,11 +95,14 @@ package org.apache.flex.mdl.beads
         {
             _strand = value;
             IEventDispatcher(value).addEventListener("initComplete", initCompleteHandler);
+            IEventDispatcher(value).addEventListener("beadsAdded", initCompleteHandler);
         }
 
         private function initCompleteHandler(event:Event):void
         {
             IEventDispatcher(_strand).removeEventListener("initComplete", initCompleteHandler);
+            IEventDispatcher(_strand).removeEventListener("beadsAdded", initCompleteHandler);
+            
             COMPILE::JS
             {
                 upgradeElement();


Mime
View raw message