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 2016/02/24 06:44:44 UTC
[03/15] git commit: [flex-asjs] [refs/heads/spark] - Fixed JS version
of WebBrowser to intercept correct location change events and dispatch proper
FlexJS event.
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/883f2397
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/883f2397
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/883f2397
Branch: refs/heads/spark
Commit: 883f23975131af4d964ce1c7ba17fd3e7769d54e
Parents: b212a98
Author: Peter Ent <pe...@apache.org>
Authored: Wed Feb 10 11:29:43 2016 -0500
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Feb 23 21:44:20 2016 -0800
----------------------------------------------------------------------
.../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/883f2397/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);
}
/**