[Contrib: Evaluation System] RSF: Why does one script-tag get rendered before others?

Aaron Zeckoski azeckoski at unicon.net
Wed Jan 11 10:49:29 PST 2012


Seeing if David or Steve have any ideas. I am actually not sure why
this would happen. I sorta assumed the order would stay the same
myself.

-AZ


On Wed, Jan 11, 2012 at 1:37 PM, Jim Eng <jimeng at umich.edu> wrote:
> In sakai 2.9.x (using RSF 0.7.5) I am seeing occasional errors related to javascript files. One of the script tags is rendered out-of-order, along with the top items in the head tag for no apparent reason.  This happens in spite of the fact that the tag for that file is lower in the list of script tags in the template.  It ends up causing an error because the tag for the jquery file has not been rendered yet, and this other file depends on jquery.
>
> I have tried rearranging script tags within the head tag to try to get it to render later, but it seems like RSF grabs that tag and moves it up near the top of the head tag no matter what I do.
>
> This seems to cause parts of the UI not to be rendered correctly after AJAX requests, presumably because that javascript file is never actually loaded.
>
> Suggestions?
>
> Thanks.
>
> Jim
>
>
> _______________________________________________
> evaluation mailing list
> evaluation at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/evaluation
>
> TO UNSUBSCRIBE: send email to evaluation-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



-- 
Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile


More information about the evaluation mailing list