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
|
var idEvent = 0;
var data = { events: [] };
var datePicker;
function setData(id, start, end, range, type, title, room, course_eval, modality, speaker, color) {
data.events.push(new Object());
data.events[idEvent].id = id;
data.events[idEvent].start = start;
data.events[idEvent].end = end;
data.events[idEvent].range = range;
data.events[idEvent].type = type;
data.events[idEvent].title = title;
data.events[idEvent].room = room;
data.events[idEvent].course_eval = course_eval;
data.events[idEvent].modality = modality;
data.events[idEvent].speaker = speaker;
data.events[idEvent].color = color;
idEvent++;
}
function setSeeDate(seeDate) {
datePicker = seeDate;
} |
Partager