You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2017/04/20 19:59:27 UTC

git commit: [flex-asjs] [refs/heads/develop] - Uses beadsAdded event instead of viewChanged.

Repository: flex-asjs
Updated Branches:
  refs/heads/develop 0c568e3cc -> 5ab55c24d


Uses beadsAdded event instead of viewChanged.


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/5ab55c24
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/5ab55c24
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/5ab55c24

Branch: refs/heads/develop
Commit: 5ab55c24da41f38291fe7d10f6c3e6e62f3f6972
Parents: 0c568e3
Author: Peter Ent <pe...@apache.org>
Authored: Thu Apr 20 15:59:25 2017 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Thu Apr 20 15:59:25 2017 -0400

----------------------------------------------------------------------
 .../org/apache/flex/html/accessories/NumericOnlyTextInputBead.as | 4 ++--
 .../flex/org/apache/flex/html/accessories/PasswordInputBead.as   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5ab55c24/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/accessories/NumericOnlyTextInputBead.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/accessories/NumericOnlyTextInputBead.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/accessories/NumericOnlyTextInputBead.as
index c92f202..1a1e019 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/accessories/NumericOnlyTextInputBead.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/accessories/NumericOnlyTextInputBead.as
@@ -79,7 +79,7 @@ package org.apache.flex.html.accessories
 			
 			COMPILE::SWF
 			{
-				IEventDispatcher(value).addEventListener("viewChanged",viewChangeHandler);					
+				IEventDispatcher(value).addEventListener("beadsAdded",beadsAddedHandler);					
 			}
 			COMPILE::JS
 			{
@@ -134,7 +134,7 @@ package org.apache.flex.html.accessories
 		 * @private
 		 */
 		COMPILE::SWF
-		private function viewChangeHandler(event:Event):void
+		private function beadsAddedHandler(event:Event):void
 		{			
 			// get the ITextFieldView bead, which is required for this bead to work
 			var textView:ITextFieldView = _strand.getBeadByType(ITextFieldView) as ITextFieldView;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5ab55c24/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/accessories/PasswordInputBead.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/accessories/PasswordInputBead.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/accessories/PasswordInputBead.as
index e73822b..b0c835c 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/accessories/PasswordInputBead.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/accessories/PasswordInputBead.as
@@ -72,7 +72,7 @@ package org.apache.flex.html.accessories
 			
 			COMPILE::SWF
 			{
-				IEventDispatcher(value).addEventListener("viewChanged",viewChangeHandler);					
+				IEventDispatcher(value).addEventListener("beadsAdded",beadsAddedHandler);					
 			}
 			COMPILE::JS
 			{
@@ -86,7 +86,7 @@ package org.apache.flex.html.accessories
 		 * @private
 		 */
 		COMPILE::SWF
-		private function viewChangeHandler(event:Event):void
+		private function beadsAddedHandler(event:Event):void
 		{			
 			// get the ITextFieldView bead, which is required for this bead to work
 			var textView:ITextFieldView = _strand.getBeadByType(ITextFieldView) as ITextFieldView;