diff --git a/tailbone/views/shifts/schedule.py b/tailbone/views/shifts/schedule.py index 02aae21b..c620a505 100644 --- a/tailbone/views/shifts/schedule.py +++ b/tailbone/views/shifts/schedule.py @@ -59,6 +59,7 @@ class ScheduleView(TimeSheetView): uuid = key[len('{}-'.format(field)):] if uuid: data[field][uuid] = self.request.POST[key] + break # if no fields, don't apply changes (filter form uses POST also) if any(data.itervalues()):