Add support for events with recurrence dates

This commit is contained in:
Francis Lachapelle
2017-12-15 16:17:51 -05:00
parent e61a55f30e
commit 7f99514744
15 changed files with 337 additions and 48 deletions

View File

@@ -222,6 +222,7 @@
vm.showAttendeesEditor = vm.component.attendees && vm.component.attendees.length;
vm.toggleAttendeesEditor = toggleAttendeesEditor;
//vm.searchText = null;
vm.changeFrequency = changeFrequency;
vm.changeCalendar = changeCalendar;
vm.cardFilter = cardFilter;
vm.addAttendee = addAttendee;
@@ -272,6 +273,11 @@
vm.component.repeat.month.type == 'bymonthday';
}
function changeFrequency() {
if (vm.component.repeat.frequency == 'custom')
vm.showRecurrenceEditor = true;
}
function changeCalendar() {
var updateRequired = (vm.component.attendees && vm.component.attendees.length > 0);
if (updateRequired)