appy.gen: bugfixes.
This commit is contained in:
parent
8cc20b0d34
commit
d3a2b85a10
3 changed files with 30 additions and 17 deletions
|
@ -340,7 +340,8 @@ class BaseMixin:
|
|||
obj = self.getTool().getObject(rq['objectUid'])
|
||||
else:
|
||||
obj = self
|
||||
return obj.getMethod('on'+action)()
|
||||
if rq.get('appy', None) == '1': obj = obj.appy()
|
||||
return getattr(obj, 'on'+action)()
|
||||
|
||||
def rememberPreviousData(self):
|
||||
'''This method is called before updating an object and remembers, for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue