--- a/src/pyams_content/component/paragraph/zmi/keynumber.py Fri Apr 06 11:54:25 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/keynumber.py Fri Apr 06 12:07:45 2018 +0200
@@ -256,8 +256,8 @@
@view_config(name='switch-keynumber-visibility.json', context=IKeyNumberContainer, request_type=IPyAMSLayer,
permission=MANAGE_CONTENT_PERMISSION, renderer='json', xhr=True)
-def set_keynumber_visibility(request):
- """Set key number visibility"""
+def switch_keynumber_visibility(request):
+ """Switch key number visibility"""
return switch_element_visibility(request, IKeyNumberContainer)