flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [22/50] [abbrv] git commit: [flex-asjs] [refs/heads/dual] - replicate ab9b29c8ed40a32d5e7500687993199c8ba5caae to Basic
Date Thu, 09 Feb 2017 05:45:14 GMT
replicate ab9b29c8ed40a32d5e7500687993199c8ba5caae to Basic


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

Branch: refs/heads/dual
Commit: 34752f97437d2e5cfe70ddf8cbe5955bc692c2b2
Parents: e1ef339
Author: Alex Harui <aharui@apache.org>
Authored: Mon Feb 6 12:55:15 2017 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Feb 6 12:55:15 2017 -0800

----------------------------------------------------------------------
 .../projects/Basic/src/main/flex/org/apache/flex/html/Alert.as  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/34752f97/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/Alert.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/Alert.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/Alert.as
index 6975efb..d117923 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/Alert.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/Alert.as
@@ -177,7 +177,7 @@ package org.apache.flex.html
 		 *  @playerversion AIR 2.6
 		 *  @productversion FlexJS 0.0
 		 */
-		static public function show( text:String, parent:Object, title:String="", flags:uint=Alert.OK
) : void
+        static public function show( text:String, parent:Object, title:String="", flags:uint=Alert.OK
) : Alert
 		{
 			var alert:Alert = new Alert();
 			alert.message = text;
@@ -191,8 +191,9 @@ package org.apache.flex.html
                 alert.positioner.style.margin = 'auto';
                 alert.positioner.style.left = "50%";
                 alert.positioner.style.top = "50%";
-
+                alert.positioner.style.width = "200px";
             }
+            return alert;
 		}
 		
 		/**


Mime
View raw message