flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [12/12] git commit: [flex-asjs] [refs/heads/develop] - prevent bubbling of flash.events.Event. We don't want flash events in the system, just org.apache.flex.events.Events
Date Sun, 02 Mar 2014 06:14:35 GMT
prevent bubbling of flash.events.Event.  We don't want flash events in the system, just org.apache.flex.events.Events


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

Branch: refs/heads/develop
Commit: 7c84f3e630de30551e0e915790ea0c1df3c6148a
Parents: 84b3668
Author: Alex Harui <aharui@apache.org>
Authored: Sat Mar 1 22:14:09 2014 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Sat Mar 1 22:14:09 2014 -0800

----------------------------------------------------------------------
 .../beads/controllers/EditableTextKeyboardController.as            | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7c84f3e6/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/staticControls/beads/controllers/EditableTextKeyboardController.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/staticControls/beads/controllers/EditableTextKeyboardController.as
b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/staticControls/beads/controllers/EditableTextKeyboardController.as
index b9c2f7e..01f8e9f 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/staticControls/beads/controllers/EditableTextKeyboardController.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/staticControls/beads/controllers/EditableTextKeyboardController.as
@@ -78,6 +78,8 @@ package org.apache.flex.html.staticControls.beads.controllers
 		 */
 		private function inputChangeHandler( event:Object ) : void
 		{
+            // this will otherwise bubble an event of flash.events.Event
+            event.stopImmediatePropagation();
 			model.text = textField.text;
 		}
 	}


Mime
View raw message