Repository: flex-asjs
Updated Branches:
  refs/heads/develop 701f2f54b -> 231727bef


Set dataMdlFor id earlier, cause initComplete in case of manual upgrade is to 
late


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

Branch: refs/heads/develop
Commit: 231727beff1c351f94dd07fa1f6cdecc934f4b14
Parents: 701f2f5
Author: piotrz <[email protected]>
Authored: Mon May 1 16:20:01 2017 +0200
Committer: piotrz <[email protected]>
Committed: Mon May 1 16:20:01 2017 +0200

----------------------------------------------------------------------
 .../flex/org/apache/flex/mdl/beads/views/DropDownListView.as   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/231727be/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
index 8b766fc..ba84d48 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/DropDownListView.as
@@ -75,6 +75,11 @@ package org.apache.flex.mdl.beads.views
             _displayList = new Menu();
             _displayList.bottom = true;
 
+            COMPILE::JS
+            {
+                setIdForDisplayList();
+            }
+            
             _displayLabel = new Div();
 
             if (!dropDownList.icon)
@@ -99,7 +104,6 @@ package org.apache.flex.mdl.beads.views
             COMPILE::JS
             {
                 host.element.classList.add("DropDownList");
-                setIdForDisplayList();
             }
             _displayList.width = isNaN(host.width) ? 100 : host.width;
             _displayLabel.width = isNaN(host.width) ? 100 : host.width - 25;

Reply via email to