You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/06/13 21:40:14 UTC
[2/5] git commit: [flex-utilities] [refs/heads/develop] - pop log to
front if it was buried by the main window
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 <ah...@apache.org>
Authored: Thu Jun 12 10:09:11 2014 -0700
Committer: Alex Harui <ah...@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;