Hi
I change my scheduler.templates.week_date_class like this:
scheduler.templates.week_date_class = function (date, today) {
if(isFreeDay){
spanWork=scheduler.addMarkedTimespan({
days: date.getDay(),
zones: [“420”,“1260”],
css: “not_work_hours”
});
}
}
Where isFreeDay is a boolean variable that i manage
It works fine but if i use the minicalendar the code inside the if statement give an error and the minicalendar handler doesn’t work
Where is the problem?