--- a/src/pyams_content/component/illustration/zmi/paragraph.py Thu Jul 12 17:35:51 2018 +0200
+++ b/src/pyams_content/component/illustration/zmi/paragraph.py Thu Jul 12 18:18:15 2018 +0200
@@ -79,11 +79,6 @@
edit_permission = MANAGE_CONTENT_PERMISSION
- def updateWidgets(self, prefix=None):
- super(IllustrationAddForm, self).updateWidgets(prefix)
- if 'description' in self.widgets:
- self.widgets['description'].widget_css_class = 'textarea'
-
def create(self, data):
return Illustration()
@@ -110,11 +105,6 @@
edit_permission = MANAGE_CONTENT_PERMISSION
- def updateWidgets(self, prefix=None):
- super(IllustrationPropertiesEditForm, self).updateWidgets(prefix)
- if 'description' in self.widgets:
- self.widgets['description'].widget_css_class = 'textarea'
-
def get_ajax_output(self, changes):
output = super(self.__class__, self).get_ajax_output(changes)
if 'title' in changes.get(IIllustration, ()):