correctly reference target (not 'context')
This commit is contained in:
parent
6f59f3892a
commit
bc8e42240e
1 changed files with 2 additions and 2 deletions
|
@ -145,8 +145,8 @@ class ChangeState(ChangeStateBase, EditObject):
|
|||
|
||||
def update(self):
|
||||
formData = self.request.form
|
||||
# store data in context (unless field.nostore)
|
||||
self.object = self.context
|
||||
# store data in target object (unless field.nostore)
|
||||
self.object = self.target
|
||||
formState = self.instance.applyTemplate(data=formData)
|
||||
# TODO: check formState
|
||||
# track all fields
|
||||
|
|
Loading…
Add table
Reference in a new issue