src/pyams_content/features/review/zmi/__init__.py
changeset 283 9139536eab90
parent 238 2dc445ad2cf5
child 313 2e71fb238b1c
--- a/src/pyams_content/features/review/zmi/__init__.py	Sun Nov 26 09:50:28 2017 +0100
+++ b/src/pyams_content/features/review/zmi/__init__.py	Sun Nov 26 09:51:48 2017 +0100
@@ -138,15 +138,19 @@
                     'message': translate(_("Request successful. "
                                            "{count} new notification(s) have been sent")).format(count=changes),
                     'events': [{
-                        'event': 'PyAMS_content.changed_item',
-                        'options': {'handler': 'PyAMS_content.review.updateComments'}
+                        'event': 'myams.refresh',
+                        'options': {
+                            'handler': 'PyAMS_content.review.updateComments'
+                        }
                     }]}
         else:
             return {'status': 'info',
                     'message': translate(_("Request successful. No new notification have been sent")),
                     'events': [{
-                        'event': 'PyAMS_content.changed_item',
-                        'options': {'handler': 'PyAMS_content.review.updateComments'}
+                        'event': 'myams.refresh',
+                        'options': {
+                            'handler': 'PyAMS_content.review.updateComments'
+                        }
                     }]}