[Building Sakai] Internet Explorer 8 - Javascript broking

Noah Botimer botimer at umich.edu
Wed Nov 4 06:45:45 PST 2009


Hello André,

Typically, tools include portalscripts.js and headscript.js, where  
these functions are located. You should first verify if you are  
including them. If not, you can look at the other tools for example  
code.

It is also a good suggestion to have this code check if the objects  
or functions are available before calling them. We may want to  
consider this for the 2.7 release.

Thanks,
-Noah

On Nov 4, 2009, at 9:35 AM, André Zanchetta wrote:

> Hi all.
>
> I've developed an small toll for sakai which is full of pure  
> javascript and jquery code.
> It was developed with Firefox and worked well. Very well.
>
> However, when I tried to run it on Internet Explorer 8, some  
> javascripts where broken.
> Following the I.E. 8 javascript debugger, it shows that the errors  
> occurs during the "body onLoad". More precisely: on the  
> "setMainFrameHeight('Main85ab...')" method. The error: "object  
> Expected". Afther that error, another one happens on "setFocus 
> (focus_path)": which says that 'focus_path' is not defined.
> As soon as the first error happens, all javascript code is stoped.
>
> I'm not sure, but this 'onload' code seems to be inserted by Sakai.
> Is there any way of removing these functions from the onLoad  
> attribute?
> Or does someone know where can I find some way to fix this?
> Was I the first one who had this problem?
>
> Thanks,
> André Della Libera Zanchetta
> ReadInWeb - Unicamp - Brazil
>
>
> PS: I'm really sorry if there is any English error. That is not my  
> native language.
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev- 
> unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



More information about the sakai-dev mailing list