src/pyams_content/component/paragraph/zmi/frame.py
changeset 842 7f0d72e427b1
parent 633 7ebe8a011c16
child 844 36af332b6dd0
--- a/src/pyams_content/component/paragraph/zmi/frame.py	Thu Jul 12 17:35:51 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/frame.py	Thu Jul 12 18:18:15 2018 +0200
@@ -104,11 +104,6 @@
     fields = field.Fields(IFrameParagraph).omit('__parent__', '__name__', 'visible')
     edit_permission = MANAGE_CONTENT_PERMISSION
 
-    def updateWidgets(self, prefix=None):
-        super(FrameParagraphAddForm, self).updateWidgets(prefix)
-        if 'body' in self.widgets:
-            self.widgets['body'].widget_css_class = 'textarea'
-
     def create(self, data):
         return FrameParagraph()
 
@@ -144,7 +139,6 @@
             for lang in body_widget.langs:
                 widget = body_widget.widgets[lang]
                 widget.id = '{id}_{name}'.format(id=widget.id, name=self.context.__name__)
-            body_widget.widget_css_class = 'textarea'
 
     def get_ajax_output(self, changes):
         output = super(self.__class__, self).get_ajax_output(changes)