Files
alfresco-community-repo/source/web/scripts/calendar/calendarUtil.js
2007-12-05 15:59:28 +00:00

12 lines
340 B
JavaScript

var CalendarUtil = {
DAYTAB: 2,
setDayView: function(day, tabs) {
var thedate = new Date(_currentDateForMonthView);
thedate.setDate(day);
_currentDateForDayView = thedate; // global refers to the current day
callEventRetrieverDayView(); // load the events for the given date
tabs.set('activeIndex', CalendarUtil.DAYTAB);
}
};