diff --git a/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox b/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox
index 0398ffd67..304395b23 100644
--- a/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox
+++ b/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox
@@ -272,7 +272,7 @@
close
+ ng-click="editor.removeAttendee($chip, eventForm)">close
diff --git a/UI/WebServerResources/js/Scheduler/ComponentController.js b/UI/WebServerResources/js/Scheduler/ComponentController.js
index 831676f3a..26e780a50 100644
--- a/UI/WebServerResources/js/Scheduler/ComponentController.js
+++ b/UI/WebServerResources/js/Scheduler/ComponentController.js
@@ -282,10 +282,11 @@
}
}
- function removeAttendee(attendee) {
+ function removeAttendee(attendee, form) {
vm.component.deleteAttendee(attendee);
if (vm.component.attendees.length === 0)
vm.showAttendeesEditor = false;
+ form.$setDirty();
}
function priorityLevel() {