Changing the active state of the calendar reloads the events.

Change from Georg Ehrke
This commit is contained in:
Bart Visscher 2011-09-01 21:38:32 +02:00
parent 1bb754299a
commit e765e7e9e8

View file

@ -799,6 +799,8 @@ function oc_cal_calender_activation(checkbox, calendarid)
$.post(oc_webroot + "/apps/calendar/ajax/activation.php", { calendarid: calendarid, active: checkbox.checked?1:0 },
function(data) {
checkbox.checked = data == 1;
oc_cal_update_eventsvar(oc_cal_year);
oc_cal_update_view('');
});
}
function oc_cal_editcalendar(object, calendarid){