--- a/src/pyams_content/component/gallery/zmi/paragraph.py Sun Nov 26 09:50:28 2017 +0100
+++ b/src/pyams_content/component/gallery/zmi/paragraph.py Sun Nov 26 09:51:48 2017 +0100
@@ -115,11 +115,13 @@
if 'title' in updated:
return {'status': 'success',
'events': [{
- 'event': 'PyAMS_content.changed_item',
- '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}
+ 'event': 'myams.refresh',
+ '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
+ }
}]}
else:
return super(GalleryPropertiesAJAXEditForm, self).get_ajax_output(changes)