features/calendar/assets/js/calendar.js
/**
 * Check if current user has authorized this application.
 * 
 * @param boolean inEvent - true if the calendar is being loaded on an event page. 
 */
Check if current user has authorized this application.

@param boolean inEvent - true if the calendar is being loaded on an event page.
Check if current user has authorized this application . @param boolean inEvent - true if the calendar is being loaded on an event page .
function handleClientLoad(inEvent)
{
    cal.inEvent = inEvent;
    $("#calendar-link").click(function() {
            calendarLinkHandler();
    });
    gapi.client.setApiKey(cal.apiKey);
    window.setTimeout(checkAuth, 1);
}
function handleClientLoad ( inEvent ) { cal . inEvent = inEvent ; $ ( "#calendar-link" ) . click ( function ( ) { calendarLinkHandler ( ) ; } ) ; gapi . client . setApiKey ( cal . apiKey ) ; window . setTimeout ( checkAuth , 1 ) ; }
Check if current user has authorized this application.
Check if current user has authorized this application .