flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject [4/8] git commit: [flex-asjs] [refs/heads/dual] - Uses beadsAdded event instead of viewChanged.
Date Mon, 24 Apr 2017 20:24:46 GMT
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/dual
Commit: 5ab55c24da41f38291fe7d10f6c3e6e62f3f6972
Parents: 0c568e3
Author: Peter Ent <pent@apache.org>
Authored: Thu Apr 20 15:59:25 2017 -0400
Committer: Peter Ent <pent@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;


Mime
View raw message