mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Calendar View contribution integrated
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
11
source/web/scripts/calendar/calendarUtil.js
Normal file
11
source/web/scripts/calendar/calendarUtil.js
Normal file
@@ -0,0 +1,11 @@
|
||||
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);
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user