3 Replies Latest reply: Aug 2, 2013 9:29 AM by stinkylinky RSS

    Refreshing default calendar doesn't keep javascript

    stinkylinky

      Hey folks

       

      I'm working with the default SQL calendar in Apex 4.2 and have a sort of Google Calendar set up, where you view other people's calendar's over layed on top of your own, and have the ability to choose a color for each user. To achieve this, I have some javascript that is triggered via a dynamic action. This all works great on the page load and the triggering event (Changing the user options and hitting Apply). However, if I switch months via the default buttons on the calendar, my javascript is no longer applied, instead, the calendar returns to the normal style. I'm assuming this is due to the fact that the default buttons trigger a partial page refresh, which in turn doesn't work with my dynamic action. Is there a way I can get my javascript to other stay applied, even when changing months on the calendar?