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 17fa29f jewel button add binding to text and html
17fa29f is described below
commit 17fa29fdb3b112e27c37c36852af2ae8970aa42a
Author: Carlos Rovira <[email protected]>
AuthorDate: Sun Mar 3 11:28:28 2019 +0100
jewel button add binding to text and html
---
.../Jewel/src/main/royale/org/apache/royale/jewel/Button.as | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Button.as
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Button.as
index f74f257..9ac3a2d 100644
---
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Button.as
+++
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Button.as
@@ -373,6 +373,7 @@ package org.apache.royale.jewel
typeNames = "jewel button";
}
+ [Bindable("textChange")]
/**
* @copy org.apache.royale.html.Label#text
*
@@ -395,6 +396,7 @@ package org.apache.royale.jewel
this.dispatchEvent('textChange');
}
+ [Bindable("htmlChange")]
/**
* @copy org.apache.royale.html.Label#html
*
@@ -456,11 +458,6 @@ package org.apache.royale.jewel
{
addElementToWrapper(this, 'button');
element.setAttribute('type', 'button');
- /* AJH comment out until we figure out why it is needed
- if (org.apache.royale.core.ValuesManager.valuesImpl.getValue) {
- var impl:Object =
org.apache.royale.core.ValuesManager.valuesImpl.
- getValue(this, 'iStatesImpl');
- }*/
positioner = element;