# HG changeset patch # User Thierry Florac # Date 1507876769 -7200 # Node ID f70686f44c7bcec6a23566f81d1cb9d8b454ce9d # Parent 7a55458f64a7694bc042e1b3e2ce3fbe6810fc52 Updated JSON response diff -r 7a55458f64a7 -r f70686f44c7b src/pyams_content/shared/form/zmi/field.py --- a/src/pyams_content/shared/form/zmi/field.py Fri Oct 13 08:39:04 2017 +0200 +++ b/src/pyams_content/shared/form/zmi/field.py Fri Oct 13 08:39:29 2017 +0200 @@ -328,7 +328,7 @@ if 'label' in changes.get(IFormField, ()): output.setdefault('events', []).append({ 'event': 'PyAMS_content.changed_item', - 'options': {'object_type': 'form_field', + 'options': {'handler': 'PyAMS_content.fields.refreshField', 'object_name': self.context.__name__, 'title': II18n(self.context).query_attribute('label', request=self.request), 'visible': self.context.visible}