[gen] appy.js: closing the confirm popup via button 'no' cleans field 'comment'.

This commit is contained in:
Gaetan Delannay 2015-02-04 12:23:56 +01:00
parent 988626e3f2
commit f44bb4e06b
3 changed files with 17 additions and 11 deletions

View file

@ -1285,7 +1285,7 @@ class ToolMixin(BaseMixin):
request, a server action can be executed before rendering the XHTML
chunk. This method executes this action.'''
if action.startswith(':'):
# The action corresponds to a method on Appy p_obj.
# The action corresponds to a method on Appy p_obj
msg = getattr(obj, action[1:])()
else:
# The action must be executed on p_field if present, on obj.o else.