This is an automated email from the ASF dual-hosted git repository.

carlosrovira 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 f6f54b5  wrong if condition
f6f54b5 is described below

commit f6f54b5faf8d59d7af8fd94530d1e525bf488ffa
Author: Carlos Rovira <[email protected]>
AuthorDate: Thu Mar 7 17:13:26 2019 +0100

    wrong if condition
---
 .../royale/org/apache/royale/jewel/beads/validators/StringValidator.as  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/validators/StringValidator.as
 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/validators/StringValidator.as
index ff08e77..db39884 100644
--- 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/validators/StringValidator.as
+++ 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/validators/StringValidator.as
@@ -167,7 +167,7 @@ package org.apache.royale.jewel.beads.validators
                                        
hostComponent.element.removeAttribute('maxlength');
                                }
 
-                               if(OSUtils.getOS() != OSUtils.ANDROID_OS)
+                               if(OSUtils.getOS() == OSUtils.ANDROID_OS)
                                {
                                        if(_maxLength > 0)
                                        {

Reply via email to