src/pyams_content/component/illustration/zmi/__init__.py
changeset 1084 6b6a884fa28a
parent 1070 ea0c7ac589c4
--- a/src/pyams_content/component/illustration/zmi/__init__.py	Mon Nov 12 16:48:29 2018 +0100
+++ b/src/pyams_content/component/illustration/zmi/__init__.py	Mon Nov 12 16:56:15 2018 +0100
@@ -18,7 +18,7 @@
 
 from pyams_content.component.illustration.interfaces import IBasicIllustration, IBasicIllustrationTarget, \
     IIllustration, IIllustrationTarget, ILinkIllustrationTarget
-from pyams_content.component.illustration.zmi.paragraph import ParagraphContainerIllustrationMarker
+from pyams_content.component.illustration.zmi.paragraph import ParagraphIllustrationMarker
 from pyams_content.component.paragraph import IBaseParagraph
 from pyams_content.component.paragraph.zmi import get_json_paragraph_markers_refresh_event
 from pyams_content.features.renderer.zmi.widget import RendererFieldWidget
@@ -100,12 +100,12 @@
                 if self.getContent().data:
                     events.append(
                         get_json_paragraph_markers_refresh_event(self.context, self.request, self,
-                                                                 ParagraphContainerIllustrationMarker))
+                                                                 ParagraphIllustrationMarker))
                 else:
                     events.append(
                         get_json_paragraph_markers_refresh_event(self.context, self.request, self,
                                                                  EmptyViewlet,
-                                                                 ParagraphContainerIllustrationMarker.marker_type))
+                                                                 ParagraphIllustrationMarker.marker_type))
             events.append(get_json_form_refresh_event(self.context, self.request, self.__class__))
         return output