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/20 19:38:53 UTC

[royale-asjs] branch develop updated: formatString wasn't being stored

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


View the commit online:
https://github.com/apache/royale-asjs/commit/b1d0fa752718de5d30990eafcf77ba22a879494e

The following commit(s) were added to refs/heads/develop by this push:
     new b1d0fa7  formatString wasn't being stored
b1d0fa7 is described below

commit b1d0fa752718de5d30990eafcf77ba22a879494e
Author: Alex Harui <ah...@apache.org>
AuthorDate: Wed Nov 20 11:38:35 2019 -0800

    formatString wasn't being stored
---
 .../projects/MXRoyale/src/main/royale/mx/controls/DateField.as       | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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 4dcff65..cb25a1b 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DateField.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DateField.as
@@ -1395,11 +1395,12 @@ public class DateField extends ComboBase
     {
         formatStringOverride = value;
 
-       /*  _formatString = value != null ?
+        _formatString = value /* != null ?
                         value :
                         resourceManager.getString(
-                            "SharedResources", "dateFormat");
+                            "SharedResources", "dateFormat")*/;
 
+        /*
         updateDateFiller = true;
 
         invalidateProperties();