Fix bug, break for loop when we can
This commit is contained in:
parent
e57757d44b
commit
e153390c15
|
@ -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()):
|
||||
|
|
Loading…
Reference in a new issue