Hi, can you try to update to last APE Git JSF i commited a fix
yesterday. Let me know if it works better (don't forget to clear your cache)
tjeerdkramer a écrit :
The akward thing is, that for me, the code only breaks (e.g. doesn't
work) when the code is run for the second time within the same browser
session. If I close the browser, and re-run my app, it works fine the
first time. When I attempt it for a second time without closing the
browser, it doesn't work anymore and gives me a CHANNEL_UNKNOWN error.
In the ape.log, I also don't see the user connecting with the 2nd
attempt. Only happens in IE and is probably related to the above
issue.
I am waiting to put APE back in production until this is fixed.
On Apr 2, 6:13 am, ma liang <[email protected]> wrote:
After recently debug, I notice that when JavaScript.js is included by html
page static use
<script> tag, it work fine in IE,
But when JavaScript.js is included by js dynamic, like
document.write("<script src="..."></script>"), ie:
hnLoad([
'http://js.hunantv.com/hn/mps/Build/mpsClient.js',
..., function() {
var client = new APE.Client();
}
IE's iframe.onload() won't be fire.
hnLoad's code is onhttp://pastebin.com/6LJRreS4
2010/4/1 tjeerdkramer <[email protected]>
Hmmm. Guess not. After downloading the latest APE-JSF from github, the
problem is still there...
On Mar 31, 11:40 pm, tjeerdkramer <[email protected]> wrote:
Does this have to do with the most recent commit?
"Fix bug with IE8 and hidden pipe "
http://github.com/APE-Project/APE_JSF/commit/bd2a720df934b95699a46f0c...
?
On Mar 31, 11:18 pm, tjeerdkramer <[email protected]> wrote:
I am having the same problem, but I cant seem to implement a fix. What
does your code look like exactly?
Tjeerd
On Mar 31, 9:44 am, ma liang <[email protected]> wrote:
After debug, I found Client/JavaScript.js has some problem:
IEdon't excute the iframe.onload() function when config.transport ==
2;
After changed iframe.load() function like this, it works fine:
onIframeLoad = function() {
if (!iframe.contentWindow.APE) {
setTimeout(onIframeLoad, 100);//SometimesIEfire the
onload
event, but the iframe is not loaded -_-
} else {
iframe.contentWindow.APE.init(config);
}
};
setTimeout(onIframeLoad, 100);
2010/3/31 ma liang <[email protected]>
To avoid JSF set document.domain value, I changed transport method
to
JSONP,
through add tranport: 2 in client.load();
client.load({
'domain':APE.Config.domain,
'server':APE.Config.server,
identifier:'pusher',
transport: 2,
Firefox, and chorm works fine, exceptIE(I'm use ie7.0).
I added alert(resp) in APE.Transport.read() function. other
browser alert
raw ok,IEdon't.
There is no js error, I can't catch request and monitor dynamic DOM
under
IE, somebody can help me pls?
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]<ape-project%[email protected]>
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website :http://www.ape-project.org/
Git Hub :http://github.com/APE-Project/
To unsubscribe, reply using "remove me" as the subject.
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/