src/pyams_content/component/paragraph/zmi/frame.py
changeset 1127 a76066afc55b
parent 1083 112b6aa11de4
child 1243 837612af4dc3
--- a/src/pyams_content/component/paragraph/zmi/frame.py	Tue Nov 27 15:36:41 2018 +0100
+++ b/src/pyams_content/component/paragraph/zmi/frame.py	Tue Nov 27 15:37:04 2018 +0100
@@ -21,11 +21,11 @@
 from pyams_content.component.association.zmi.interfaces import IAssociationsParentForm
 from pyams_content.component.paragraph.frame import FrameParagraph
 from pyams_content.component.paragraph.interfaces import IBaseParagraph, IParagraphContainer, \
-    IParagraphContainerTarget, PARAGRAPH_HIDDEN_FIELDS
+    IParagraphContainerTarget, IParagraphTitle, PARAGRAPH_HIDDEN_FIELDS
 from pyams_content.component.paragraph.interfaces.frame import FRAME_PARAGRAPH_TYPE, IFrameParagraph
 from pyams_content.component.paragraph.zmi import BaseParagraphAJAXAddForm, BaseParagraphAJAXEditForm, \
-    BaseParagraphAddMenu, BaseParagraphPropertiesEditForm, IParagraphInnerEditFormButtons, IParagraphTitleValue, \
-    get_json_paragraph_toolbar_refresh_event, get_json_paragraph_refresh_event
+    BaseParagraphAddMenu, BaseParagraphPropertiesEditForm, IParagraphInnerEditFormButtons, \
+    get_json_paragraph_refresh_event, get_json_paragraph_toolbar_refresh_event
 from pyams_content.component.paragraph.zmi.container import ParagraphContainerTable, \
     ParagraphTitleToolbarViewletManager
 from pyams_content.component.paragraph.zmi.interfaces import IParagraphContainerView, IParagraphInnerEditor
@@ -76,7 +76,7 @@
 # Framed text paragraph
 #
 
-@adapter_config(context=(IFrameParagraph, IPyAMSLayer), provides=IParagraphTitleValue)
+@adapter_config(context=(IFrameParagraph, IPyAMSLayer), provides=IParagraphTitle)
 def frame_paragraph_title_adapter(context, request):
     """Frame paragraph title adapter"""
     i18n = II18n(context)