src/pyams_content/shared/form/zmi/field.py
changeset 228 f70686f44c7b
parent 170 26aefef3d0aa
child 290 3c4cf9537da7
--- 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}