--- a/src/pyams_content/component/paragraph/zmi/frame.py Wed Jun 13 08:55:06 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/frame.py Wed Jun 13 08:56:05 2018 +0200
@@ -16,7 +16,7 @@
# import standard library
# import interfaces
-from pyams_content.component.association.interfaces import IAssociationTarget
+from pyams_content.component.association.interfaces import IAssociationContainerTarget
from pyams_content.component.association.zmi.interfaces import IAssociationsParentForm
from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer
from pyams_content.component.paragraph.interfaces.frame import IFrameParagraph, FRAME_PARAGRAPH_TYPE
@@ -150,7 +150,7 @@
output = super(self.__class__, self).get_ajax_output(changes)
if 'body' in changes.get(IFrameParagraph, ()):
# refresh associations count markers
- parent = get_parent(self.context, IAssociationTarget)
+ parent = get_parent(self.context, IAssociationContainerTarget)
output.setdefault('events', []).append(
get_json_paragraph_toolbar_refresh_event(parent, self.request,
ParagraphContainerTable, ParagraphTitleToolbarViewletManager))