src/pyams_content/component/gallery/zmi/__init__.py
changeset 842 7f0d72e427b1
parent 591 b694d5667d17
child 976 5d23f030767c
--- a/src/pyams_content/component/gallery/zmi/__init__.py	Thu Jul 12 17:35:51 2018 +0200
+++ b/src/pyams_content/component/gallery/zmi/__init__.py	Thu Jul 12 18:18:15 2018 +0200
@@ -68,11 +68,6 @@
 
     edit_permission = MANAGE_CONTENT_PERMISSION
 
-    def updateWidgets(self, prefix=None):
-        super(GalleryPropertiesEditForm, self).updateWidgets(prefix)
-        if 'description' in self.widgets:
-            self.widgets['description'].widget_css_class = 'textarea'
-
     def get_ajax_output(self, changes):
         if 'title' in changes.get(IGallery, ()):
             return {