(js) Mark form as dirty when removing an attendee

This commit is contained in:
Francis Lachapelle committed 2016-11-04 14:37:23 -04:00
1 parent 963e3f4587
commit c35e074842
2 files changed
+3 -2

No files matched your search

@@ -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() {