Take a look over
https://wiki.jasig.org/display/PLT/JavaScript+Best+Practices and see if
that helps. If not let us know and we'll help get it figured out :)

-Eric


On 02/05/2013 10:02 AM, Brad Morse wrote:
> I created a calendar portlet, using the web proxy portlet. It uses jQuery to 
> fire off two ajax posts at page load. One function is to display the 
> calendar, the other is a function that displays a listing of today's events.
>
> I use jQuery v 1.9.0 and the script loads just above the closing of the body 
> tag.
>
> When I view it outside of the portal, it works as expected, everything is 
> normal in firebug. Then when I run it in the portal, firebug doesn't return 
> any errors, besides all the other things it loads from the other portlets, 
> and it shows those two (calendar and today's events) functions firing the 
> ajax posts, as expected.
>
> But…sometimes it'll display the list of today's events twice, and no 
> calendar. Or…it'll display the calendar twice and no list of today's events. 
> This happens about half the time. The other half it works as expected, 
> showing the calendar, and a list of today's events underneath it.
>
> There are other portlets that utilize other versions of jQuery, as I found 
> out in firebug. I imagine that has something to do with it.
>
> What I want to know is, has anyone else experienced something similar to this 
> and what are some things I should look into, to begin resolving my issue?

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to