--- a/src/pyams_content/component/association/zmi/__init__.py Fri Mar 09 12:32:58 2018 +0100
+++ b/src/pyams_content/component/association/zmi/__init__.py Fri Mar 09 12:35:35 2018 +0100
@@ -195,8 +195,8 @@
@view_config(name='set-association-visibility.json', context=IAssociationContainer, request_type=IPyAMSLayer,
permission=MANAGE_CONTENT_PERMISSION, renderer='json', xhr=True)
-def set_paragraph_visibility(request):
- """Set paragraph visibility"""
+def set_association_visibility(request):
+ """Set association visibility"""
container = IAssociationContainer(request.context)
association = container.get(str(request.params.get('object_name')))
if association is None: