You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/11/25 06:15:09 UTC
[royale-asjs] branch develop updated: datefieldview expects
initcomplete
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 6f48e07 datefieldview expects initcomplete
6f48e07 is described below
commit 6f48e07f8a87be86caef1d242d77e57d55c3dffe
Author: Alex Harui <ah...@apache.org>
AuthorDate: Sun Nov 24 22:14:46 2019 -0800
datefieldview expects initcomplete
---
.../projects/MXRoyale/src/main/royale/mx/controls/DateField.as | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DateField.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DateField.as
index cb25a1b..5ad857c 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DateField.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DateField.as
@@ -50,6 +50,7 @@ use namespace mx_internal;
import org.apache.royale.core.IDateChooserModel;
import org.apache.royale.core.IUIBase;
+import org.apache.royale.events.Event;
import mx.controls.TextInput;
//--------------------------------------
@@ -2896,6 +2897,12 @@ public class DateField extends ComboBase
return (view as DateFieldView).setFocus();
}
+
+ override public function set initialized(value:Boolean):void
+ {
+ super.initialized = value;
+ dispatchEvent(new Event("initComplete"));
+ }
}
}