flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [07/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - Fixed JS version of WebBrowser to intercept correct location change events and dispatch proper FlexJS event.
Date Wed, 06 Apr 2016 15:06:05 GMT
Fixed JS version of WebBrowser to intercept correct location change events and dispatch proper
FlexJS event.


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

Branch: refs/heads/master
Commit: 36c14ed8ee6ca7125dd1f86daa460d53ec205a50
Parents: 18deeae
Author: Peter Ent <pent@apache.org>
Authored: Wed Feb 10 11:29:43 2016 -0500
Committer: Peter Ent <pent@apache.org>
Committed: Wed Feb 10 11:29:43 2016 -0500

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/html/beads/WebBrowserView.as     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/36c14ed8/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/WebBrowserView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/WebBrowserView.as
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/WebBrowserView.as
index cb14971..46c9484 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/WebBrowserView.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/WebBrowserView.as
@@ -168,7 +168,7 @@ package org.apache.flex.html.beads
 			model.addEventListener("urlChanged", loadPage);
 
 			var iframe:HTMLIFrameElement = (host as UIBase).element as HTMLIFrameElement;
-			iframe.addEventListener("pageshow", handlePageShow, false);
+			iframe.addEventListener("load", handlePageShow, false);
 		}
 
 		/**


Mime
View raw message