Welcome Guest Search | Active Topics | Sign In | Register

eo_Callback and FireFox 4.0 Options
ixthnar
Posted: Wednesday, March 30, 2011 3:21:51 PM
Rank: Advanced Member
Groups: Member

Joined: 11/15/2008
Posts: 44
As I dig into this I thought I should check with you.

One of my applications does a callback using eo_Callback just after page load. It works in IE, FireFox 3, Safari, and Chrome but not with FireFox 4.0. Using alert()'s to step through the events, I found that the problem did not happen. Using a debug-div to trace the issue, I find that the client-side code runs without a hitch ... except that the callback does not actually happen.

I conclude that that it is a timing issue.

Has anyone else seen this yet? I'll try increasing the delay but I have a hunch that this is not the best solution.

If this is a new issue, I'll see if I can scale it down to a reproducible demonstration.

Thanks,
Chris
ixthnar
Posted: Wednesday, March 30, 2011 3:27:48 PM
Rank: Advanced Member
Groups: Member

Joined: 11/15/2008
Posts: 44
Doing the eo_Callback with a setTimeout of 2000 works while at 1000 it still fails.
eo_support
Posted: Wednesday, March 30, 2011 5:11:59 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This can occur if one of the controls involved with the callback takes longer to load (or FireFox fires page load much faster than anybody else). So you will want to make sure all other controls are loaded before calling eo_Callback. If only a single control is involved, you can try triggering eo_Callback from that control's ClientSideOnLoad (you still need to use setTimetout so that ClientSideOnLoad returns first). If there are multiple controls invovled, the easiest way is to keep trying until eo_Callback returns true.

Thanks!
ixthnar
Posted: Wednesday, March 30, 2011 5:13:45 PM
Rank: Advanced Member
Groups: Member

Joined: 11/15/2008
Posts: 44
Thank sooo much!!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.