My favorites
▼
|
Sign in
fullcalendar
ISSUE TRACKER HAS MOVED. DO NOT USE THIS (more info)
Project Home
Issues
Export to GitHub
New issue
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
981
attachment: fullcalendar-fn.txt
(1.0 KB)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
function fullCalendar(repeat) {
var urlevents = '{myContext}/AjaxServlet?action=CalendarEvents';
jQuery('#fullCalendar_cal').html('');
jQuery('#loading').css('display', 'block');
jQuery.ajax({
url : urlevents,
success : function(data) {
jQuery('#fullCalendar_cal').html('');
jQuery('#fullCalendar_cal').fullCalendar({
editable : false,
firstDay: 1,
year : yCal,
month : mCal,
events : eval('[' + data + ']'),
eventClick : function(event) {
mostrarListadoDate(event.start);
},
dayClick : function(date, allDay, jsEvent, view) {
mostrarListadoDate(date);
},
allDayText : allDayText,
monthNames : monthNames,
monthNamesShort : monthNamesShort,
dayNames : dayNames,
dayNamesShort : dayNamesShort,
buttonText : buttonText,
header : {
left : '',
center : 'title ',
right : ''
}
});
if (repeat) {
fullCalendar(false);
} else {
jQuery('#loading').css('display', 'none');
}
}
});
}
Powered by
Google Project Hosting