click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Schellink <>
Subject Re: DateField not working in IE 7
Date Sat, 23 Jan 2010 03:30:21 GMT
Interesting about the iframe. If you look at control.js you'll see the addLoadEvent function
is probably the most complex function in the world!) has a check for IE:

// Guard against iframe
if (window == top) {

Perhaps that will fix the issue? There is also links to websites of folks who have assembled
function. So I'm not sure if the iframe hack might break something else?

Its also worth looking at popular JavaScript libs such as JQuery on how they resolve this

Let us know your findings.

kind regards


On 22/01/2010 08:29 PM, james_sg wrote:
> Hi Bob,
> I done some checks and found that the problem happens when the Click page is
> inside the iFrame.
> Event.Observe doesn't seems to work very well with addLoadEvent inside
> iFrame.
> I'll see if I can solve the problem over the weekends.
> Thanks and regards,
> James

View raw message