src/pyams_security/zmi/plugin/group.py
changeset 137 f71f153dc508
parent 117 bab0e0098c8e
--- a/src/pyams_security/zmi/plugin/group.py	Mon Jul 09 13:42:56 2018 +0200
+++ b/src/pyams_security/zmi/plugin/group.py	Thu Jul 12 18:19:23 2018 +0200
@@ -237,11 +237,6 @@
     ajax_handler = 'add-group.json'
     edit_permission = MANAGE_SYSTEM_PERMISSION
 
-    def updateWidgets(self, prefix=None):
-        super(LocalGroupAddForm, self).updateWidgets()
-        if 'description' in self.widgets:
-            self.widgets['description'].widget_css_class = 'textarea'
-
     def create(self, data):
         return Group()
 
@@ -299,11 +294,6 @@
     ajax_handler = 'properties.json'
     edit_permission = MANAGE_SYSTEM_PERMISSION
 
-    def updateWidgets(self, prefix=None):
-        super(LocalGroupEditForm, self).updateWidgets()
-        if 'description' in self.widgets:
-            self.widgets['description'].widget_css_class = 'textarea'
-
 
 @view_config(name='properties.json', context=ILocalGroup, request_type=IPyAMSLayer,
              permission=MANAGE_SYSTEM_PERMISSION, renderer='json', xhr=True)