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)):]
|
uuid = key[len('{}-'.format(field)):]
|
||||||
if uuid:
|
if uuid:
|
||||||
data[field][uuid] = self.request.POST[key]
|
data[field][uuid] = self.request.POST[key]
|
||||||
|
break
|
||||||
|
|
||||||
# if no fields, don't apply changes (filter form uses POST also)
|
# if no fields, don't apply changes (filter form uses POST also)
|
||||||
if any(data.itervalues()):
|
if any(data.itervalues()):
|
||||||
|
|
Loading…
Reference in a new issue