(js) Mark form as dirty when removing an attendee

This commit is contained in:
Francis Lachapelle
2016-11-04 14:37:23 -04:00
parent 963e3f4587
commit c35e074842
2 changed files with 3 additions and 2 deletions

View File

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