When I try and click and drag to create an event on a view that is filtered, the event doesnt show. Once I am done dragging, however, the lightbox shows with the correct start and end time. If I comment out the code below, it all shows when clicking and dragging. Any idea what may be going on?
Thanks!
Here is the code in question:
[code]// Filters the week view. Only able to view the currently logged on instructor
scheduler.filter_week = function(id, event) {
if (event.instructor_id == <?php echo $id; ?>)
return true;
}
// Filters the day view. Only able to view the currently logged on instructor
scheduler.filter_day = function(id, event) {
if (event.instructor_id == <?php echo $id; ?>)
return true;
}
// Filters the month view. Only able to view the currently logged on instructor
scheduler.filter_month = function(id, event) {
if (event.instructor_id == <?php echo $id; ?>)
return true;
}[/code]