mirror of
https://github.com/nextcloud/server.git
synced 2026-03-26 04:14:20 -04:00
Changing the active state of the calendar reloads the events.
Change from Georg Ehrke
This commit is contained in:
parent
1bb754299a
commit
e765e7e9e8
1 changed files with 2 additions and 0 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Reference in a new issue