Changed viewlet configuration
authorThierry Florac <thierry.florac@onf.fr>
Wed, 11 Mar 2015 11:59:44 +0100
changeset 4 6741c7cd2366
parent 3 5ac09cfb60cb
child 5 8ea45b295724
Changed viewlet configuration
src/pyams_ldap/zmi/plugin.py
--- a/src/pyams_ldap/zmi/plugin.py	Tue Mar 03 16:54:31 2015 +0100
+++ b/src/pyams_ldap/zmi/plugin.py	Wed Mar 11 11:59:44 2015 +0100
@@ -345,8 +345,8 @@
     fields = field.Fields(Interface)
 
 
-@viewlet_config(name='ldap-attributes', layer=IAdminLayer, manager=IWidgetsSuffixViewletsManager,
-                view=LDAPPrincipalDisplayForm)
+@viewlet_config(name='ldap-attributes', layer=IAdminLayer, view=LDAPPrincipalDisplayForm,
+                manager=IWidgetsSuffixViewletsManager)
 @template_config(template='templates/ldap-attributes.pt')
 class LDAPPrincipalAttributesViewlet(Viewlet):
     """LDAP principal attributes"""