You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pi...@apache.org on 2019/09/02 12:27:03 UTC
[royale-asjs] branch develop updated: jewel-raiodbutton: Fix
setting value for selected property
This is an automated email from the ASF dual-hosted git repository.
piotrz 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 f25d30a jewel-raiodbutton: Fix setting value for selected property
f25d30a is described below
commit f25d30ae3730ca023b97a17211d51f8594d0beee
Author: Piotr Zarzycki <pi...@gmail.com>
AuthorDate: Mon Sep 2 14:26:53 2019 +0200
jewel-raiodbutton: Fix setting value for selected property
---
.../Jewel/src/main/royale/org/apache/royale/jewel/RadioButton.as | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/RadioButton.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/RadioButton.as
index 57c11b4..df3df86 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/RadioButton.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/RadioButton.as
@@ -124,10 +124,10 @@ package org.apache.royale.jewel
}
COMPILE::JS
{
- if(icon.checked == value) {
+ if(icon.checked == selValue) {
return;
}
- icon.checked = value;
+ icon.checked = selValue;
dispatchEvent(new Event(Event.CHANGE));
}
}