# HG changeset patch # User Thierry Florac # Date 1507876145 -7200 # Node ID fd2f6aaa2478f9d68fa398c1d22acca26cca7a59 # Parent 696fc2a4037121dc29bc4c79cff891f0e2615513 Changed JSON response diff -r 696fc2a40371 -r fd2f6aaa2478 src/pyams_content/component/paragraph/zmi/__init__.py --- a/src/pyams_content/component/paragraph/zmi/__init__.py Fri Oct 13 08:28:34 2017 +0200 +++ b/src/pyams_content/component/paragraph/zmi/__init__.py Fri Oct 13 08:29:05 2017 +0200 @@ -117,7 +117,7 @@ if 'title' in changes.get(IBaseParagraph, ()): output.setdefault('events', []).append({ 'event': 'PyAMS_content.changed_item', - 'options': {'object_type': 'paragraph', + 'options': {'handler': 'PyAMS_content.paragraphs.refreshParagraph', 'object_name': self.context.__name__, 'title': II18n(self.context).query_attribute('title', request=self.request), 'visible': self.context.visible}