flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [2/5] git commit: [flex-utilities] [refs/heads/develop] - pop log to front if it was buried by the main window
Date Fri, 13 Jun 2014 19:40:14 GMT
pop log to front if it was buried by the main window


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/4c784368
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/4c784368
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/4c784368

Branch: refs/heads/develop
Commit: 4c784368342bb52d7e63d967e7349f4b4d01072e
Parents: 104e157
Author: Alex Harui <aharui@apache.org>
Authored: Thu Jun 12 10:09:11 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Thu Jun 12 10:09:11 2014 -0700

----------------------------------------------------------------------
 installer/src/InstallApacheFlex.mxml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/4c784368/installer/src/InstallApacheFlex.mxml
----------------------------------------------------------------------
diff --git a/installer/src/InstallApacheFlex.mxml b/installer/src/InstallApacheFlex.mxml
index 8971415..39aa9cb 100644
--- a/installer/src/InstallApacheFlex.mxml
+++ b/installer/src/InstallApacheFlex.mxml
@@ -590,7 +590,9 @@ variables are not required because the locations of these pieces are known.
 			if (configOverride != "") {
 				request = new URLRequest(configOverride);
 			} else {
-				request = new URLRequest(Constants.APACHE_FLEX_URL + Constants.CONFIG_XML_NAME);
+				var d:Date = new Date();
+				var ts:String = d.getTime().toString();
+				request = new URLRequest(Constants.APACHE_FLEX_URL + Constants.CONFIG_XML_NAME + "?ts="
+ ts);
 				//request = new URLRequest(Constants.CONFIG_XML_NAME);
 			}
 			
@@ -2678,6 +2680,9 @@ variables are not required because the locations of these pieces are
known.
 		private function showConsole(event:Event):void {
 			if (!console || console.closed)
 				console = new ConsoleWindow();
+			else if (console)
+				console.orderToFront();
+				
 			console.messages = _messages;
 			console.open();
 			console.nativeWindow.x = this.nativeWindow.x + this.nativeWindow.width / 2 - console.nativeWindow.width
/ 2;


Mime
View raw message