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 4b0ba92 jewel-textprompt: fix swf
4b0ba92 is described below
commit 4b0ba92a68b06dc1c9cc997f31c6d10bd23b672e
Author: Carlos Rovira <[email protected]>
AuthorDate: Wed Mar 4 20:00:10 2020 +0100
jewel-textprompt: fix swf
---
.../org/apache/royale/jewel/beads/controls/textinput/TextPrompt.as | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/textinput/TextPrompt.as
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/textinput/TextPrompt.as
index 1f53456..8d77a26 100644
---
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/textinput/TextPrompt.as
+++
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/textinput/TextPrompt.as
@@ -23,6 +23,7 @@ package org.apache.royale.jewel.beads.controls.textinput
import flash.text.TextFieldType;
import org.apache.royale.core.CSSTextField;
+ import org.apache.royale.events.IEventDispatcher;
}
import org.apache.royale.core.Bead;
@@ -75,7 +76,10 @@ package org.apache.royale.jewel.beads.controls.textinput
_prompt = value;
if(host)
{
+ COMPILE::JS
+ {
updatePromptText();
+ }
host.dispatchEvent(new
Event("promptChanged"));
}
}